diff options
| author | Rafael H. Schloming <rhs@apache.org> | 2008-05-12 18:14:49 +0000 |
|---|---|---|
| committer | Rafael H. Schloming <rhs@apache.org> | 2008-05-12 18:14:49 +0000 |
| commit | 478627a91dafac09391c302acb0be26f064471c7 (patch) | |
| tree | 0686634f3606e7b2be8e40d788731ec154668e50 /java/client/src | |
| parent | 3a923f1e6a96e856911d3bbf49dc7af42e16c98b (diff) | |
| download | qpid-python-478627a91dafac09391c302acb0be26f064471c7.tar.gz | |
QPID-1025: updated fix for empty payload issue, this change removes state transitions that don't consume input bytes
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@655585 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/client/src')
| -rw-r--r-- | java/client/src/test/java/org/apache/qpid/test/unit/topic/TopicSessionTest.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/java/client/src/test/java/org/apache/qpid/test/unit/topic/TopicSessionTest.java b/java/client/src/test/java/org/apache/qpid/test/unit/topic/TopicSessionTest.java index ad13c45575..0ff3455624 100644 --- a/java/client/src/test/java/org/apache/qpid/test/unit/topic/TopicSessionTest.java +++ b/java/client/src/test/java/org/apache/qpid/test/unit/topic/TopicSessionTest.java @@ -180,7 +180,7 @@ public class TopicSessionTest extends QpidTestCase con.start(); TextMessage tm = session1.createTextMessage("Hello"); publisher.publish(tm); - tm = (TextMessage) consumer1.receive(200000L); + tm = (TextMessage) consumer1.receive(10000L); assertNotNull(tm); String msgText = tm.getText(); assertEquals("Hello", msgText); @@ -188,7 +188,7 @@ public class TopicSessionTest extends QpidTestCase msgText = tm.getText(); assertNull(msgText); publisher.publish(tm); - tm = (TextMessage) consumer1.receive(20000000L); + tm = (TextMessage) consumer1.receive(10000L); assertNotNull(tm); msgText = tm.getText(); assertNull(msgText); |
