cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ningji...@apache.org
Subject svn commit: r469776 - /incubator/cxf/trunk/rt/transports/jms/src/test/java/org/apache/cxf/transport/jms/JMSDestinationTest.java
Date Wed, 01 Nov 2006 04:03:17 GMT
Author: ningjiang
Date: Tue Oct 31 20:03:16 2006
New Revision: 469776

URL: http://svn.apache.org/viewvc?view=rev&rev=469776
Log:
Wait for a while for the jms session recycling in testRoundTripDestination to avoid NPE

Modified:
    incubator/cxf/trunk/rt/transports/jms/src/test/java/org/apache/cxf/transport/jms/JMSDestinationTest.java

Modified: incubator/cxf/trunk/rt/transports/jms/src/test/java/org/apache/cxf/transport/jms/JMSDestinationTest.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/rt/transports/jms/src/test/java/org/apache/cxf/transport/jms/JMSDestinationTest.java?view=diff&rev=469776&r1=469775&r2=469776
==============================================================================
--- incubator/cxf/trunk/rt/transports/jms/src/test/java/org/apache/cxf/transport/jms/JMSDestinationTest.java
(original)
+++ incubator/cxf/trunk/rt/transports/jms/src/test/java/org/apache/cxf/transport/jms/JMSDestinationTest.java
Tue Oct 31 20:03:16 2006
@@ -188,7 +188,9 @@
         // create the thread to handler the Destination incomming message
                
         waitForReceiveInMessage();
-        verifyDestinationReceivedMessage(inMessage);        
+        verifyDestinationReceivedMessage(inMessage);
+        // wait for a while for the jms session recycling
+        Thread.sleep(1000);
         destination.shutdown();
     }
     



Mime
View raw message