NO-JIRA: Fixing ProtonTest::testAddressControlSendMessage
This commit is contained in:
parent
cc22a0286b
commit
5d407a88b3
|
@ -264,6 +264,8 @@ public class ProtonTest extends ProtonTestBase {
|
|||
Assert.assertEquals(1, addressControl.getQueueNames().length);
|
||||
addressControl.sendMessage(null, org.apache.activemq.artemis.api.core.Message.BYTES_TYPE, Base64.encodeBytes("test".getBytes()), false, userName, password);
|
||||
|
||||
Wait.waitFor(() -> addressControl.getMessageCount() == 1);
|
||||
|
||||
Assert.assertEquals(1, addressControl.getMessageCount());
|
||||
|
||||
Connection connection = createConnection("myClientId");
|
||||
|
|
Loading…
Reference in New Issue