Skip to content

Commit

Permalink
ThreadPoolTest rc fix (helidon-io#4460)
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Kec <[email protected]>
  • Loading branch information
danielkec authored Jun 30, 2022
1 parent 6f4caa0 commit ab8d9e2
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -561,6 +561,7 @@ public void run() {
};
pool.submit(task4);
pool.shutdown();
assertThat(pool.awaitTermination(20, SECONDS), is(true));
assertThat(pool.getCompletedTasks(), is(2));
assertThat(pool.getFailedTasks(), is(2));
assertThat(pool.getTotalTasks(), is(pool.getCompletedTasks() + pool.getFailedTasks()));
Expand Down

0 comments on commit ab8d9e2

Please sign in to comment.