You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by sl...@apache.org on 2009/09/14 10:37:41 UTC

svn commit: r814521 - /tuscany/branches/sca-java-1.5.1/itest/jms/src/test/java/org/apache/tuscany/sca/binding/jms/PropertiesTestCase.java

Author: slaws
Date: Mon Sep 14 08:37:40 2009
New Revision: 814521

URL: http://svn.apache.org/viewvc?rev=814521&view=rev
Log:
Change the timeouts again. Not sure this actually has any real affect but the change and recompile made the test work for me. I do think though that there is some intermittent problem going on. 

Modified:
    tuscany/branches/sca-java-1.5.1/itest/jms/src/test/java/org/apache/tuscany/sca/binding/jms/PropertiesTestCase.java

Modified: tuscany/branches/sca-java-1.5.1/itest/jms/src/test/java/org/apache/tuscany/sca/binding/jms/PropertiesTestCase.java
URL: http://svn.apache.org/viewvc/tuscany/branches/sca-java-1.5.1/itest/jms/src/test/java/org/apache/tuscany/sca/binding/jms/PropertiesTestCase.java?rev=814521&r1=814520&r2=814521&view=diff
==============================================================================
--- tuscany/branches/sca-java-1.5.1/itest/jms/src/test/java/org/apache/tuscany/sca/binding/jms/PropertiesTestCase.java (original)
+++ tuscany/branches/sca-java-1.5.1/itest/jms/src/test/java/org/apache/tuscany/sca/binding/jms/PropertiesTestCase.java Mon Sep 14 08:37:40 2009
@@ -45,10 +45,10 @@
 
         client.aClientMethod();
 
-        // wait for up to 5 seconds but should wake up as soon as done
+        // wait for up to 10 seconds but should wake up as soon as done
         synchronized(MsgServiceImpl.lock) {
             if (MsgServiceImpl.msg == null) {
-                MsgServiceImpl.lock.wait(5000);
+                MsgServiceImpl.lock.wait(10000);
             }
         }
         assertNotNull(MsgServiceImpl.msg);
@@ -66,10 +66,10 @@
 
         client.op2();
 
-        // wait for up to 5 seconds but should wake up as soon as done
+        // wait for up to 10 seconds but should wake up as soon as done
         synchronized(MsgServiceImpl.lock) {
             if (MsgServiceImpl.msg == null) {
-                MsgServiceImpl.lock.wait(6000);
+                MsgServiceImpl.lock.wait(10000);
             }
         }
         assertNotNull(MsgServiceImpl.msg);