Skip to content

Commit

Permalink
Fix testWatchdogLogging
Browse files Browse the repository at this point in the history
It's possible that the expected thread isn't the only thread that made
no progress since the last check, so this commit generalizes the
assertion to allow for other threads to be mentioned here too.

Closes elastic#113734
  • Loading branch information
DaveCTurner committed Sep 30, 2024
1 parent e9d0dd9 commit c5ed861
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3369,7 +3369,7 @@ public void testWatchdogLogging() {
"stuck threads logging",
ThreadWatchdog.class.getCanonicalName(),
Level.WARN,
"the following threads are active but did not make progress in the preceding [5s]: [" + threadName + "]"
"the following threads are active but did not make progress in the preceding [5s]: [*" + threadName + "*]"
)
);
safeAwait(barrier);
Expand Down

0 comments on commit c5ed861

Please sign in to comment.