This is an automated email from the ASF dual-hosted git repository. gtully pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/activemq-artemis.git
The following commit(s) were added to refs/heads/main by this push: new ef1a17e548 ARTEMIS-4432 remove unused commit count from the test ef1a17e548 is described below commit ef1a17e54829ec08d9fd4f30d972b9db470d0e85 Author: Gary Tully <gary.tu...@gmail.com> AuthorDate: Thu Sep 21 10:02:15 2023 +0100 ARTEMIS-4432 remove unused commit count from the test --- .../tests/integration/openwire/PrefetchRedeliveryCountOpenwireTest.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/openwire/PrefetchRedeliveryCountOpenwireTest.java b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/openwire/PrefetchRedeliveryCountOpenwireTest.java index 80d5ca05df..1dc6105541 100644 --- a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/openwire/PrefetchRedeliveryCountOpenwireTest.java +++ b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/openwire/PrefetchRedeliveryCountOpenwireTest.java @@ -231,7 +231,6 @@ public class PrefetchRedeliveryCountOpenwireTest extends OpenWireTestBase { exConn.close(); final int batch = numMessages; - AtomicInteger commits = new AtomicInteger(0); AtomicBoolean done = new AtomicBoolean(false); while (!done.get()) { // connection per batch attempt @@ -264,7 +263,6 @@ public class PrefetchRedeliveryCountOpenwireTest extends OpenWireTestBase { try { latch.countDown(); finalSession.commit(); - commits.incrementAndGet(); } catch (JMSException e) { }