diff options
author | Rajith Muditha Attapattu <rajith@apache.org> | 2009-06-03 12:33:36 +0000 |
---|---|---|
committer | Rajith Muditha Attapattu <rajith@apache.org> | 2009-06-03 12:33:36 +0000 |
commit | 7b796eb7b193d38219acdd55e9caf2940c4e751a (patch) | |
tree | 6387f3cda8811b6819e5f8f0981b61fdd372f367 | |
parent | 4d1153648a9dbf8b7c9258ef664fe48457f313d4 (diff) | |
download | qpid-python-7b796eb7b193d38219acdd55e9caf2940c4e751a.tar.gz |
Increased the receive timeout to 1000 ms as the test seems to fail on some systems
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@781352 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | java/systests/src/main/java/org/apache/qpid/test/client/message/SelectorTest.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/java/systests/src/main/java/org/apache/qpid/test/client/message/SelectorTest.java b/java/systests/src/main/java/org/apache/qpid/test/client/message/SelectorTest.java index 6de7012f8d..af11a94ca3 100644 --- a/java/systests/src/main/java/org/apache/qpid/test/client/message/SelectorTest.java +++ b/java/systests/src/main/java/org/apache/qpid/test/client/message/SelectorTest.java @@ -33,8 +33,8 @@ public class SelectorTest extends QpidTestCase prod.send(msg); } - Message msg1 = consumer.receive(500); - Message msg2 = consumer.receive(500); + Message msg1 = consumer.receive(1000); + Message msg2 = consumer.receive(1000); Assert.assertNotNull("Msg1 should not be null", msg1); Assert.assertNotNull("Msg2 should not be null", msg2); @@ -52,8 +52,8 @@ public class SelectorTest extends QpidTestCase consumer = session.createConsumer(dest,"JMSMessageID IS NULL"); - Message msg4 = consumer.receive(500); - Message msg5 = consumer.receive(500); + Message msg4 = consumer.receive(1000); + Message msg5 = consumer.receive(1000); Assert.assertNotNull("Msg4 should not be null", msg4); Assert.assertNotNull("Msg5 should not be null", msg5); |