cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r1532889 - /cxf/trunk/systests/ws-rm/src/test/java/org/apache/cxf/systest/ws/rm/SequenceTest.java
Date Wed, 16 Oct 2013 20:27:30 GMT
Author: dkulp
Date: Wed Oct 16 20:27:29 2013
New Revision: 1532889

URL: http://svn.apache.org/r1532889
Log:
Close control too soon

Modified:
    cxf/trunk/systests/ws-rm/src/test/java/org/apache/cxf/systest/ws/rm/SequenceTest.java

Modified: cxf/trunk/systests/ws-rm/src/test/java/org/apache/cxf/systest/ws/rm/SequenceTest.java
URL: http://svn.apache.org/viewvc/cxf/trunk/systests/ws-rm/src/test/java/org/apache/cxf/systest/ws/rm/SequenceTest.java?rev=1532889&r1=1532888&r2=1532889&view=diff
==============================================================================
--- cxf/trunk/systests/ws-rm/src/test/java/org/apache/cxf/systest/ws/rm/SequenceTest.java
(original)
+++ cxf/trunk/systests/ws-rm/src/test/java/org/apache/cxf/systest/ws/rm/SequenceTest.java
Wed Oct 16 20:27:29 2013
@@ -135,7 +135,7 @@ public class SequenceTest extends Abstra
         }
         Thread.sleep(100);
     }
-
+    
     // --- tests ---
     @Test
     public void testOnewayAnonymousAcks() throws Exception {
@@ -729,6 +729,7 @@ public class SequenceTest extends Abstra
         mf.verifyAcknowledgements(expected, false);
     }
     
+    
     @Test
     public void testTwowayAtMostOnce() throws Exception {
         doTestTwowayNoDuplicates("org/apache/cxf/systest/ws/rm/atmostonce.xml");
@@ -1595,8 +1596,8 @@ public class SequenceTest extends Abstra
 
     private void stopControl() throws IOException {
         if (null != control) {
-            ((Closeable)control).close();
             assertTrue("Failed to stop greeter", control.stopGreeter(null));
+            ((Closeable)control).close();
             controlBus.shutdown(true);
         }
     }



Mime
View raw message