cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r1023999 - in /cxf/branches/2.3.x-fixes: ./ systests/uncategorized/src/test/java/org/apache/cxf/systest/factory_pattern/MultiplexClientServerTest.java
Date Mon, 18 Oct 2010 20:34:03 GMT
Author: dkulp
Date: Mon Oct 18 20:34:03 2010
New Revision: 1023999

URL: http://svn.apache.org/viewvc?rev=1023999&view=rev
Log:
Merged revisions 1023973 via svnmerge from 
https://svn.apache.org/repos/asf/cxf/trunk

........
  r1023973 | dkulp | 2010-10-18 16:04:34 -0400 (Mon, 18 Oct 2010) | 1 line
  
  CLose conduits to cleanup JMS connections
........

Modified:
    cxf/branches/2.3.x-fixes/   (props changed)
    cxf/branches/2.3.x-fixes/systests/uncategorized/src/test/java/org/apache/cxf/systest/factory_pattern/MultiplexClientServerTest.java

Propchange: cxf/branches/2.3.x-fixes/
------------------------------------------------------------------------------
--- svnmerge-integrated (original)
+++ svnmerge-integrated Mon Oct 18 20:34:03 2010
@@ -1 +1 @@
-/cxf/trunk:1-1022129,1022154,1022194,1022401-1022402,1022911,1023068,1023121,1023804,1023971-1023972
+/cxf/trunk:1-1022129,1022154,1022194,1022401-1022402,1022911,1023068,1023121,1023804,1023971-1023973

Modified: cxf/branches/2.3.x-fixes/systests/uncategorized/src/test/java/org/apache/cxf/systest/factory_pattern/MultiplexClientServerTest.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.3.x-fixes/systests/uncategorized/src/test/java/org/apache/cxf/systest/factory_pattern/MultiplexClientServerTest.java?rev=1023999&r1=1023998&r2=1023999&view=diff
==============================================================================
--- cxf/branches/2.3.x-fixes/systests/uncategorized/src/test/java/org/apache/cxf/systest/factory_pattern/MultiplexClientServerTest.java
(original)
+++ cxf/branches/2.3.x-fixes/systests/uncategorized/src/test/java/org/apache/cxf/systest/factory_pattern/MultiplexClientServerTest.java
Mon Oct 18 20:34:03 2010
@@ -31,6 +31,7 @@ import org.apache.cxf.factory_pattern.Nu
 import org.apache.cxf.factory_pattern.NumberFactory;
 import org.apache.cxf.factory_pattern.NumberFactoryService;
 import org.apache.cxf.factory_pattern.NumberService;
+import org.apache.cxf.frontend.ClientProxy;
 import org.apache.cxf.jaxws.ServiceImpl;
 import org.apache.cxf.jaxws.support.ServiceDelegateAccessor;
 import org.apache.cxf.testutil.common.AbstractBusClientServerTestBase;
@@ -102,9 +103,14 @@ public class MultiplexClientServerTest e
         Number num =  (Number)serviceImpl.getPort(numberTwoRef, Number.class);
         assertTrue("20 is even", num.isEven().isEven());
         
+        ClientProxy.getClient(num).getConduit().close();
+        
         W3CEndpointReference numberTwentyThreeRef = factory.create("23");
         num =  (Number)serviceImpl.getPort(numberTwentyThreeRef, Number.class);
         assertTrue("23 is not even", !num.isEven().isEven());
+        
+        ClientProxy.getClient(num).getConduit().close();
+        ClientProxy.getClient(factory).getConduit().close();
     }
     
     @Test
@@ -133,10 +139,14 @@ public class MultiplexClientServerTest e
             assertTrue("match on exception message " + expected.getMessage(),
                        expected.getMessage().indexOf("999") != -1);
         }
+        ClientProxy.getClient(num).getConduit().close();
         
         ref = factory.create("37");
         assertNotNull("reference", ref);
         num =  (Number)serviceImpl.getPort(ref, Number.class);
         assertTrue("37 is not even", !num.isEven().isEven());
+        
+        ClientProxy.getClient(num).getConduit().close();
+        ClientProxy.getClient(factory).getConduit().close();
     }
 }



Mime
View raw message