This closes #88 - fixing race on test

This commit is contained in:
Clebert Suconic 2015-02-02 14:19:43 -05:00
commit 5e72f7e283
1 changed files with 2 additions and 2 deletions

View File

@ -208,8 +208,8 @@ public class SessionTest extends ServiceTestBase
clientSession.createConsumer(queueName); clientSession.createConsumer(queueName);
clientSession.createConsumer(queueName); clientSession.createConsumer(queueName);
ClientProducer cp = clientSession.createProducer("a1"); ClientProducer cp = clientSession.createProducer("a1");
cp.send(clientSession.createMessage(false)); cp.send(clientSession.createMessage(true));
cp.send(clientSession.createMessage(false)); cp.send(clientSession.createMessage(true));
flushQueue(); flushQueue();