ARTEMIS-737 fixing test

This commit is contained in:
Clebert Suconic 2016-09-26 18:51:59 -04:00
parent 37411547cf
commit 59489b4de0
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ public class ActiveMQConsumerResourceTest {
Wait.waitFor(new Wait.Condition() {
@Override
public boolean isSatisfied() throws Exception {
return server.getMessageCount("TEST_QUEUE") == 1;
return server.getMessageCount(TEST_QUEUE) == 1;
}
}, 5000, 100);
assertEquals(String.format(ASSERT_COUNT_FORMAT, TEST_QUEUE), 1, server.getMessageCount(TEST_QUEUE));