From d809976e4e57865673a9d11fe1b7d69d1f4bc234 Mon Sep 17 00:00:00 2001 From: Clebert Suconic Date: Thu, 16 Apr 2020 12:13:19 -0400 Subject: [PATCH] NO-JIRA Fixing LargeMessageTest::testPendingRecord --- .../artemis/tests/integration/client/LargeMessageTest.java | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/client/LargeMessageTest.java b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/client/LargeMessageTest.java index 79c767434f..7d4df6136a 100644 --- a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/client/LargeMessageTest.java +++ b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/client/LargeMessageTest.java @@ -297,6 +297,7 @@ public class LargeMessageTest extends LargeMessageTestBase { assertEquals("position = " + i, getSamplebyte(i), message.getBodyBuffer().readByte()); } message.acknowledge(); + session.commit(); validateNoFilesOnLargeDir(); }