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]>
(cherry picked from commit ab8d9e2)
  • Loading branch information
danielkec committed Sep 28, 2022
1 parent 08bea13 commit 4e3f468
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 4e3f468

Please sign in to comment.