From 1b27d579f40d17c9d34156ed9dda97894bdae849 Mon Sep 17 00:00:00 2001 From: slaws Date: Mon, 14 Sep 2009 08:37:40 +0000 Subject: 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. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@814521 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/tuscany/sca/binding/jms/PropertiesTestCase.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/branches/sca-java-1.5.1/itest/jms/src/test/java/org/apache/tuscany/sca/binding/jms/PropertiesTestCase.java b/branches/sca-java-1.5.1/itest/jms/src/test/java/org/apache/tuscany/sca/binding/jms/PropertiesTestCase.java index f4ba59e61b..e38f9104c0 100644 --- a/branches/sca-java-1.5.1/itest/jms/src/test/java/org/apache/tuscany/sca/binding/jms/PropertiesTestCase.java +++ b/branches/sca-java-1.5.1/itest/jms/src/test/java/org/apache/tuscany/sca/binding/jms/PropertiesTestCase.java @@ -45,10 +45,10 @@ public class PropertiesTestCase { 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 @@ public class PropertiesTestCase { 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); -- cgit v1.2.3