fixed unsubscribe test

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@377725 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
James Strachan 2006-02-14 13:39:34 +00:00
parent 06f44c7245
commit 1b3a5939a8
1 changed files with 5 additions and 2 deletions

View File

@ -178,7 +178,7 @@ public class StompTest extends CombinationTestSupport {
sendFrame(frame);
TextMessage message = (TextMessage) consumer.receive(60000);
TextMessage message = (TextMessage) consumer.receive(1000);
assertNotNull(message);
assertEquals("Hello World", message.getText());
}
@ -325,6 +325,9 @@ public class StompTest extends CombinationTestSupport {
Stomp.NULL;
sendFrame(frame);
// lets wait for the unsubscribe to take effect
Thread.sleep(1000);
//send a message to our queue
sendMessage("second message");