Repository: activemq-artemis Updated Branches: refs/heads/master 37411547c -> 59489b4de
ARTEMIS-737 fixing test Project: http://git-wip-us.apache.org/repos/asf/activemq-artemis/repo Commit: http://git-wip-us.apache.org/repos/asf/activemq-artemis/commit/59489b4d Tree: http://git-wip-us.apache.org/repos/asf/activemq-artemis/tree/59489b4d Diff: http://git-wip-us.apache.org/repos/asf/activemq-artemis/diff/59489b4d Branch: refs/heads/master Commit: 59489b4de0082bb2ef19b84dd75a4f1634058280 Parents: 3741154 Author: Clebert Suconic <[email protected]> Authored: Mon Sep 26 18:51:59 2016 -0400 Committer: Clebert Suconic <[email protected]> Committed: Mon Sep 26 18:51:59 2016 -0400 ---------------------------------------------------------------------- .../activemq/artemis/junit/ActiveMQConsumerResourceTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/59489b4d/artemis-junit/src/test/java/org/apache/activemq/artemis/junit/ActiveMQConsumerResourceTest.java ---------------------------------------------------------------------- diff --git a/artemis-junit/src/test/java/org/apache/activemq/artemis/junit/ActiveMQConsumerResourceTest.java b/artemis-junit/src/test/java/org/apache/activemq/artemis/junit/ActiveMQConsumerResourceTest.java index 08a2d80..90269ed 100644 --- a/artemis-junit/src/test/java/org/apache/activemq/artemis/junit/ActiveMQConsumerResourceTest.java +++ b/artemis-junit/src/test/java/org/apache/activemq/artemis/junit/ActiveMQConsumerResourceTest.java @@ -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));
