File tree Expand file tree Collapse file tree 1 file changed +0
-7
lines changed
server/src/main/java/org/elasticsearch/threadpool Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Original file line number Diff line number Diff line change @@ -1086,13 +1086,6 @@ public static boolean assertCurrentThreadPool(String... permittedThreadPoolNames
10861086 return true ;
10871087 }
10881088
1089- public static boolean assertTestThreadPool () {
1090- final var threadName = Thread .currentThread ().getName ();
1091- final var executorName = EsExecutors .executorName (threadName );
1092- assert threadName .startsWith ("TEST-" ) || threadName .startsWith ("LuceneTestCase" ) : threadName + " is not a test thread" ;
1093- return true ;
1094- }
1095-
10961089 public static boolean assertInSystemContext (ThreadPool threadPool ) {
10971090 final var threadName = Thread .currentThread ().getName ();
10981091 assert threadName .startsWith ("TEST-" ) || threadName .startsWith ("LuceneTestCase" ) || threadPool .getThreadContext ().isSystemContext ()
You can’t perform that action at this time.
0 commit comments