summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--java/systests/src/main/java/org/apache/qpid/test/client/message/SelectorTest.java8
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);