mirror of
https://github.com/apache/activemq-artemis.git
synced 2025-03-06 01:10:14 +00:00
This closes #2072
This commit is contained in:
commit
b3e1bec7e8
@ -342,7 +342,7 @@ public class SessionTest extends ActiveMQTestBase {
|
||||
Queue q = (Queue) server.getPostOffice().getBinding(new SimpleString(queueName)).getBindable();
|
||||
Assert.assertEquals(0, getMessageCount(q));
|
||||
clientSession.commit();
|
||||
Assert.assertEquals(10, getMessageCount(q));
|
||||
Assert.assertTrue(Wait.waitFor(() -> getMessageCount(q) == 10, 2000, 100));
|
||||
clientSession.close();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user