Skip to content

Commit

Permalink
Move assertion out of finally block
Browse files Browse the repository at this point in the history
  • Loading branch information
dsyer committed Aug 24, 2011
1 parent ba6adf4 commit cc24e4d
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -205,9 +205,9 @@ private void doTest(MessageCount level, Concurrency concurrency, TransactionMode
// container
Thread.sleep(500L);
container.shutdown();
assertEquals(0, container.getActiveConsumerCount());
}

assertEquals(0, container.getActiveConsumerCount());
assertNull(template.receiveAndConvert(queue.getName()));

}
Expand Down

0 comments on commit cc24e4d

Please sign in to comment.