You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by dk...@apache.org on 2009/08/13 21:29:38 UTC

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

Author: dkulp
Date: Thu Aug 13 19:29:37 2009
New Revision: 804002

URL: http://svn.apache.org/viewvc?rev=804002&view=rev
Log:
Increase the timeout a little bit to hopefully allow it to work on the
hudson machine

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

Modified: cxf/trunk/rt/transports/jms/src/test/java/org/apache/cxf/transport/jms/JMSDestinationTest.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/transports/jms/src/test/java/org/apache/cxf/transport/jms/JMSDestinationTest.java?rev=804002&r1=804001&r2=804002&view=diff
==============================================================================
--- cxf/trunk/rt/transports/jms/src/test/java/org/apache/cxf/transport/jms/JMSDestinationTest.java (original)
+++ cxf/trunk/rt/transports/jms/src/test/java/org/apache/cxf/transport/jms/JMSDestinationTest.java Thu Aug 13 19:29:37 2009
@@ -44,7 +44,7 @@
 import org.junit.Test;
 
 public class JMSDestinationTest extends AbstractJMSTester {
-    private static final int MAX_RECEIVE_TIME = 5;
+    private static final int MAX_RECEIVE_TIME = 10;
     private Message destMessage;
 
     public JMSDestinationTest() {
@@ -188,7 +188,9 @@
         JMSDestination destination = setupJMSDestination(true);
         sendoutMessage(conduit, outMessage, true);
         // wait for the message to be get from the destination
+        //long time = System.currentTimeMillis();
         waitForReceiveDestMessage();
+        //System.out.println("time: " + (System.currentTimeMillis() - time));
         // just verify the Destination inMessage
         assertTrue("The destiantion should have got the message ", destMessage != null);
         verifyReceivedMessage(destMessage);