cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ningji...@apache.org
Subject svn commit: r542168 - /incubator/cxf/trunk/rt/transports/jms/src/test/java/org/apache/cxf/transport/jms/JMSDestinationTest.java
Date Mon, 28 May 2007 09:09:46 GMT
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);



Mime
View raw message