NO-JIRA Trivial test fix on ProtonTest::testAddressControlSendMessageWithText
This commit is contained in:
parent
a1664bdd47
commit
3ff9057ac4
|
@ -296,6 +296,8 @@ public class ProtonTest extends ProtonTestBase {
|
|||
Assert.assertEquals(1, addressControl.getQueueNames().length);
|
||||
addressControl.sendMessage(null, org.apache.activemq.artemis.api.core.Message.TEXT_TYPE, "test", false, userName, password);
|
||||
|
||||
Wait.waitFor(() -> addressControl.getMessageCount() == 1);
|
||||
|
||||
Assert.assertEquals(1, addressControl.getMessageCount());
|
||||
|
||||
Connection connection = createConnection("myClientId");
|
||||
|
|
Loading…
Reference in New Issue