Skip to content

Commit fe5940e

Browse files
authored
Fix testWatchdogLogging (#113758)
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
1 parent 4d6c3ca commit fe5940e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/framework/src/main/java/org/elasticsearch/transport/AbstractSimpleTransportTestCase.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3369,7 +3369,7 @@ public void testWatchdogLogging() {
33693369
"stuck threads logging",
33703370
ThreadWatchdog.class.getCanonicalName(),
33713371
Level.WARN,
3372-
"the following threads are active but did not make progress in the preceding [5s]: [" + threadName + "]"
3372+
"the following threads are active but did not make progress in the preceding [5s]: [*" + threadName + "*]"
33733373
)
33743374
);
33753375
safeAwait(barrier);

0 commit comments

Comments
 (0)