cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r804002 - /cxf/trunk/rt/transports/jms/src/test/java/org/apache/cxf/transport/jms/JMSDestinationTest.java
Date Thu, 13 Aug 2009 19:29:38 GMT
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);



Mime
View raw message