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();
     }
     


Reply via email to