ARTEMIS-4432 remove unused commit count from the test

This commit is contained in:
Gary Tully 2023-09-21 10:02:15 +01:00
parent 8f9a72d257
commit ef1a17e548
1 changed files with 0 additions and 2 deletions

View File

@ -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) {
}