Skip to content

Commit

Permalink
Fix testWatchdogLogging (#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 #113734
  • Loading branch information
DaveCTurner authored Oct 1, 2024
1 parent 4d6c3ca commit fe5940e
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 fe5940e

Please sign in to comment.