Skip to content

Commit 54a2472

Browse files
make ESIntegTestCase::awaitGlobalNettyThreadsFinish public (#133549)
1 parent 80d730e commit 54a2472

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/framework/src/main/java/org/elasticsearch/test/ESIntegTestCase.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2640,7 +2640,7 @@ public static void afterClass() throws Exception {
26402640
/**
26412641
* After the cluster is stopped, there are a few netty threads that can linger, so we make sure we don't leak any tasks on them.
26422642
*/
2643-
static void awaitGlobalNettyThreadsFinish() throws Exception {
2643+
public static void awaitGlobalNettyThreadsFinish() throws Exception {
26442644
// Don't use GlobalEventExecutor#awaitInactivity. It will waste up to 1s for every call and we expect no tasks queued for it
26452645
// except for the odd scheduled shutdown task.
26462646
assertBusy(() -> assertEquals(0, GlobalEventExecutor.INSTANCE.pendingTasks()));

0 commit comments

Comments
 (0)