NO-JIRA test fix (Adding Wait clause)

This commit is contained in:
Clebert Suconic 2019-08-01 10:01:09 -04:00
parent 21af85bd94
commit b1c3f52cc8
1 changed files with 2 additions and 2 deletions

View File

@ -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)