Skip to content

Commit

Permalink
Fix testWatchdogLogging (elastic#113758)
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 Oct 1, 2024
1 parent 64fb588 commit 6082047
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 6082047

Please sign in to comment.