servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ff...@apache.org
Subject svn commit: r734052 - /servicemix/components/bindings/servicemix-cxf-bc/trunk/src/test/java/org/apache/servicemix/cxfbc/CxfBcJmsTransactionWsdlConfigTest.java
Date Tue, 13 Jan 2009 06:28:44 GMT
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();



Mime
View raw message