NO-JIRA Fixing Stomp Tests after QueueManager change
This commit is contained in:
parent
d6331b01f4
commit
757d38f53c
|
@ -1231,7 +1231,7 @@ public class StompTest extends StompTestBase {
|
|||
|
||||
unsubscribe(conn, null, getQueuePrefix() + nonExistentQueue, true, false);
|
||||
|
||||
assertNull(server.getPostOffice().getBinding(new SimpleString(nonExistentQueue)));
|
||||
Wait.assertTrue(() -> server.getPostOffice().getBinding(new SimpleString(nonExistentQueue)) == null);
|
||||
|
||||
sendJmsMessage(getName(), ActiveMQJMSClient.createQueue(nonExistentQueue));
|
||||
|
||||
|
@ -1341,7 +1341,7 @@ public class StompTest extends StompTestBase {
|
|||
conn.disconnect();
|
||||
Thread.sleep(500);
|
||||
|
||||
assertNull(server.locateQueue(SimpleString.toSimpleString("myclientid." + getName())));
|
||||
Wait.assertTrue(() -> server.locateQueue(SimpleString.toSimpleString("myclientid." + getName())) == null);
|
||||
}
|
||||
|
||||
@Test
|
||||
|
@ -1395,7 +1395,7 @@ public class StompTest extends StompTestBase {
|
|||
conn.disconnect();
|
||||
Thread.sleep(500);
|
||||
|
||||
assertNull(server.locateQueue(SimpleString.toSimpleString("myclientid." + getName())));
|
||||
Wait.assertTrue(() -> server.locateQueue(SimpleString.toSimpleString("myclientid." + getName())) == null);
|
||||
}
|
||||
|
||||
@Test
|
||||
|
|
Loading…
Reference in New Issue