We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b375e86 commit 0b6bd70Copy full SHA for 0b6bd70
buildtools/src/main/java/org/apache/pulsar/tests/ThreadLeakDetectorListener.java
@@ -177,7 +177,8 @@ private static boolean shouldSkipThread(Thread thread) {
177
return true;
178
}
179
// skip Testcontainers threads
180
- if (thread.getThreadGroup() != null && "testcontainers".equals(thread.getThreadGroup().getName())) {
+ final ThreadGroup threadGroup = thread.getThreadGroup();
181
+ if (threadGroup != null && "testcontainers".equals(threadGroup.getName())) {
182
183
184
String threadName = thread.getName();
0 commit comments