Skip to content

Commit

Permalink
ARTEMIS-4432 remove unused commit count from the test
Browse files Browse the repository at this point in the history
  • Loading branch information
gtully committed Sep 21, 2023
1 parent 8f9a72d commit ef1a17e
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,6 @@ public void testExclusiveConsumerTransactionalBatchOnReconnectionLargePrefetch()
exConn.close();

final int batch = numMessages;
AtomicInteger commits = new AtomicInteger(0);
AtomicBoolean done = new AtomicBoolean(false);
while (!done.get()) {
// connection per batch attempt
Expand Down Expand Up @@ -264,7 +263,6 @@ public void run() {
try {
latch.countDown();
finalSession.commit();
commits.incrementAndGet();

} catch (JMSException e) {
}
Expand Down

0 comments on commit ef1a17e

Please sign in to comment.