NO-JIRA fixing intermittent failure on test
This commit is contained in:
parent
0edf599adc
commit
3913c17c8d
|
@ -478,6 +478,7 @@ public class QueueControlTest extends ManagementTestBase {
|
|||
long beforeSend = System.currentTimeMillis();
|
||||
ClientProducer producer = session.createProducer(address);
|
||||
producer.send(session.createMessage(false).putStringProperty("x", "valueX").putStringProperty("y", "valueY"));
|
||||
Wait.assertEquals(1, queueControl::getMessageCount);
|
||||
|
||||
long firstMessageTimestamp = queueControl.getFirstMessageTimestamp();
|
||||
assertTrue(beforeSend <= firstMessageTimestamp);
|
||||
|
|
Loading…
Reference in New Issue