You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by ff...@apache.org on 2009/01/13 07:28:44 UTC

svn commit: r734052 - /servicemix/components/bindings/servicemix-cxf-bc/trunk/src/test/java/org/apache/servicemix/cxfbc/CxfBcJmsTransactionWsdlConfigTest.java

Author: ffang
Date: Mon Jan 12 22:28:42 2009
New Revision: 734052

URL: http://svn.apache.org/viewvc?rev=734052&view=rev
Log:
fix hanging test

Modified:
    servicemix/components/bindings/servicemix-cxf-bc/trunk/src/test/java/org/apache/servicemix/cxfbc/CxfBcJmsTransactionWsdlConfigTest.java

Modified: servicemix/components/bindings/servicemix-cxf-bc/trunk/src/test/java/org/apache/servicemix/cxfbc/CxfBcJmsTransactionWsdlConfigTest.java
URL: http://svn.apache.org/viewvc/servicemix/components/bindings/servicemix-cxf-bc/trunk/src/test/java/org/apache/servicemix/cxfbc/CxfBcJmsTransactionWsdlConfigTest.java?rev=734052&r1=734051&r2=734052&view=diff
==============================================================================
--- servicemix/components/bindings/servicemix-cxf-bc/trunk/src/test/java/org/apache/servicemix/cxfbc/CxfBcJmsTransactionWsdlConfigTest.java (original)
+++ servicemix/components/bindings/servicemix-cxf-bc/trunk/src/test/java/org/apache/servicemix/cxfbc/CxfBcJmsTransactionWsdlConfigTest.java Mon Jan 12 22:28:42 2009
@@ -59,7 +59,7 @@
                   System.getProperty("java.util.logging.config.file"));
         
         assertTrue("server did not launch correctly", 
-                   launchServer(EmbededJMSBrokerLauncher.class, props, false));
+                   launchServer(EmbededJMSBrokerLauncher.class, props, true));
         embeddedLauncher =  sl;
         assertTrue("server did not launch correctly", 
                 launchServer(MyJMSServer.class, null, false));
@@ -90,13 +90,7 @@
     }
     
     protected void tearDown() throws Exception {
-        try {
-            embeddedLauncher.stopServer();         
-        } catch (IOException ex) {
-            ex.printStackTrace();
-            fail("failed to stop server " + embeddedLauncher.getClass());
-        }
-        try {
+    	try {
             jmsLauncher.stopServer();         
         } catch (IOException ex) {
             ex.printStackTrace();