Skip to content

Commit

Permalink
Fixes #6652 - Improve ReservedThreadExecutor dump.
Browse files Browse the repository at this point in the history
Fixed test failing due to the changes in toString().

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
  • Loading branch information
sbordet committed Aug 23, 2021
1 parent 23a9829 commit b6eabab
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -850,7 +850,7 @@ public void testDump() throws Exception
dump = pool.dump();
assertThat(count(dump, " - STARTED"), is(2));
assertThat(dump, containsString(",3<=3<=4,i=2,r=2,q=0"));
assertThat(dump, containsString("s=0/2"));
assertThat(dump, containsString("reserved=0/2"));
assertThat(dump, containsString("[ReservedThreadExecutor@"));
assertThat(count(dump, " IDLE"), is(2));
assertThat(count(dump, " WAITING"), is(1));
Expand All @@ -865,7 +865,7 @@ public void testDump() throws Exception
dump = pool.dump();
assertThat(count(dump, " - STARTED"), is(2));
assertThat(dump, containsString(",3<=3<=4,i=1,r=2,q=0"));
assertThat(dump, containsString("s=1/2"));
assertThat(dump, containsString("reserved=1/2"));
assertThat(dump, containsString("[ReservedThreadExecutor@"));
assertThat(count(dump, " IDLE"), is(1));
assertThat(count(dump, " WAITING"), is(1));
Expand Down

0 comments on commit b6eabab

Please sign in to comment.