You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by ni...@apache.org on 2007/05/28 11:09:46 UTC

svn commit: r542168 - /incubator/cxf/trunk/rt/transports/jms/src/test/java/org/apache/cxf/transport/jms/JMSDestinationTest.java

Author: ningjiang
Date: Mon May 28 02:09:46 2007
New Revision: 542168

URL: http://svn.apache.org/viewvc?view=rev&rev=542168
Log:
Removed the Thread.sleep()

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=542168&r1=542167&r2=542168
==============================================================================
--- 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 Mon May 28 02:09:46 2007
@@ -174,8 +174,7 @@
         }        
         sendoutMessage(conduit, outMessage, true);  
         // wait for the message to be get from the destination
-        waitForReceiveDestMessage();
-        Thread.sleep(2000000);
+        waitForReceiveDestMessage();        
         // just verify the Destination inMessage
         assertTrue("The destiantion should have got the message ", destMessage != null);
         verifyReceivedMessage(destMessage);