summaryrefslogtreecommitdiff
path: root/java/client/src/test
diff options
context:
space:
mode:
authorMartin Ritchie <ritchiem@apache.org>2007-09-10 14:46:04 +0000
committerMartin Ritchie <ritchiem@apache.org>2007-09-10 14:46:04 +0000
commitf1da3e2d93ce8c7bb950a6d83d4e5b8c3e3793f5 (patch)
tree106f2371cd4e8b87dda603aabe43c6381117d691 /java/client/src/test
parent452ccdb117a8e6e9c292bbd3daa04212ca99a785 (diff)
downloadqpid-python-f1da3e2d93ce8c7bb950a6d83d4e5b8c3e3793f5.tar.gz
QPID-584 : Client exceptions are now presented via any set Exception Listener
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@574266 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/client/src/test')
-rw-r--r--java/client/src/test/java/org/apache/qpid/test/unit/client/connection/ConnectionStartTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/client/src/test/java/org/apache/qpid/test/unit/client/connection/ConnectionStartTest.java b/java/client/src/test/java/org/apache/qpid/test/unit/client/connection/ConnectionStartTest.java
index ae8e2cfbda..daa1086561 100644
--- a/java/client/src/test/java/org/apache/qpid/test/unit/client/connection/ConnectionStartTest.java
+++ b/java/client/src/test/java/org/apache/qpid/test/unit/client/connection/ConnectionStartTest.java
@@ -96,7 +96,7 @@ public class ConnectionStartTest extends TestCase
// should really not be called before _connection start
assertTrue("There should not be messages waiting for the consumer", _consumer.receiveNoWait() == null);
_connection.start();
- assertTrue("There should be messages waiting for the consumer", _consumer.receiveNoWait() == null);
+ assertTrue("There should be messages waiting for the consumer", _consumer.receive(1000) == null);
assertTrue("Connection should be started", _connection.started());
}