[jboss-cvs] JBossAS SVN: r61724 - trunk/testsuite/src/main/org/jboss/test/web/test.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Mon Mar 26 21:04:22 EDT 2007
Author: scott.stark at jboss.org
Date: 2007-03-26 21:04:22 -0400 (Mon, 26 Mar 2007)
New Revision: 61724
Modified:
trunk/testsuite/src/main/org/jboss/test/web/test/WebIntegrationUnitTestCase.java
Log:
Ignore erros on the testQueue msg removal
Modified: trunk/testsuite/src/main/org/jboss/test/web/test/WebIntegrationUnitTestCase.java
===================================================================
--- trunk/testsuite/src/main/org/jboss/test/web/test/WebIntegrationUnitTestCase.java 2007-03-27 01:03:40 UTC (rev 61723)
+++ trunk/testsuite/src/main/org/jboss/test/web/test/WebIntegrationUnitTestCase.java 2007-03-27 01:04:22 UTC (rev 61724)
@@ -464,14 +464,20 @@
undeploy("jbosstest-web.ear");
super.tearDown();
- // Remove all the messages created during this test
- getServer().invoke
- (
- new ObjectName("jboss.mq.destination:service=Queue,name=testQueue"),
- "removeAllMessages",
- new Object[0],
- new String[0]
- );
+ try
+ {
+ // Remove all the messages created during this test
+ getServer().invoke
+ (
+ new ObjectName("jboss.mq.destination:service=Queue,name=testQueue"),
+ "removeAllMessages",
+ new Object[0],
+ new String[0]
+ );
+ }
+ catch(Exception e)
+ {
+ }
}
};
More information about the jboss-cvs-commits
mailing list