NO-JIRA: Simple fix on a test

This commit is contained in:
Clebert Suconic 2017-07-13 10:54:58 -04:00
parent 0bfdcb764c
commit c1dfc202e7
1 changed files with 2 additions and 0 deletions

View File

@ -85,6 +85,7 @@ import org.apache.activemq.artemis.logs.AssertionLoggerHandler;
import org.apache.activemq.artemis.spi.core.security.ActiveMQSecurityManagerImpl;
import org.apache.activemq.artemis.tests.integration.IntegrationTestLogger;
import org.apache.activemq.artemis.tests.util.ActiveMQTestBase;
import org.apache.activemq.artemis.tests.util.Wait;
import org.jboss.logging.Logger;
import org.junit.After;
import org.junit.Assert;
@ -4908,6 +4909,7 @@ public class PagingTest extends ActiveMQTestBase {
producer.send(message);
Queue q = (Queue) server.getPostOffice().getBinding(ADDRESS).getBindable();
Wait.waitFor(() -> 3 == getMessageCount(q));
Assert.assertEquals(3, getMessageCount(q));
// send a message with a dup ID that should fail b/c the address is full