NO-JIRA test fix (Adding Wait clause)
This commit is contained in:
parent
21af85bd94
commit
b1c3f52cc8
|
@ -260,9 +260,9 @@ public class JMSQueueBrowserTest extends JMSClientTestSupport {
|
|||
browser.close();
|
||||
|
||||
// Now check that all browser work did not affect the session transaction.
|
||||
assertEquals(5, queueView.getMessageCount());
|
||||
Wait.assertEquals(5, queueView::getMessageCount);
|
||||
session.commit();
|
||||
assertEquals(10, queueView.getMessageCount());
|
||||
Wait.assertEquals(10, queueView::getMessageCount);
|
||||
}
|
||||
|
||||
@Test(timeout = 60000)
|
||||
|
|
Loading…
Reference in New Issue