From 53987a99dab2d753b856a24deeb49195de41cb40 Mon Sep 17 00:00:00 2001 From: Erich Duda Date: Fri, 12 Feb 2016 13:31:25 +0100 Subject: [PATCH] ARTEMIS-396 - [Artemis Testsuite] ReceiveTest#testReceiveImmediate fails --- .../activemq/artemis/tests/integration/client/ReceiveTest.java | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/client/ReceiveTest.java b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/client/ReceiveTest.java index 08fd1b82ba..95e7435db6 100644 --- a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/client/ReceiveTest.java +++ b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/client/ReceiveTest.java @@ -146,6 +146,7 @@ public class ReceiveTest extends ActiveMQTestBase { cp.send(sendSession.createMessage(false)); cp.send(sendSession.createMessage(false)); cp.send(sendSession.createMessage(false)); + sendSession.commit(); Assert.assertNotNull(cc2.receive(5000)); Assert.assertNotNull(cc.receive(5000));