This is an automated email from the ASF dual-hosted git repository.
zixuan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar.git
The following commit(s) were added to refs/heads/master by this push:
new b58e99b0032 [improve][build] Improve thread leak detector by ignoring
"Attach Listener" thread (#24277)
b58e99b0032 is described below
commit b58e99b003262dcb13c207e413570facb3dba459
Author: Lari Hotari <[email protected]>
AuthorDate: Fri May 9 07:38:00 2025 +0300
[improve][build] Improve thread leak detector by ignoring "Attach Listener"
thread (#24277)
---
.../main/java/org/apache/pulsar/tests/ThreadLeakDetectorListener.java | 4 ++++
1 file changed, 4 insertions(+)
diff --git
a/buildtools/src/main/java/org/apache/pulsar/tests/ThreadLeakDetectorListener.java
b/buildtools/src/main/java/org/apache/pulsar/tests/ThreadLeakDetectorListener.java
index c9ce671132c..89a0e0b34f0 100644
---
a/buildtools/src/main/java/org/apache/pulsar/tests/ThreadLeakDetectorListener.java
+++
b/buildtools/src/main/java/org/apache/pulsar/tests/ThreadLeakDetectorListener.java
@@ -204,6 +204,10 @@ public class ThreadLeakDetectorListener extends
BetweenTestClassesListenerAdapte
if (threadName.equals("process reaper")) {
return true;
}
+ // skip JVM internal thread related to agent attach
+ if (threadName.equals("Attach Listener")) {
+ return true;
+ }
// skip JVM internal thread used for
CompletableFuture.delayedExecutor
if (threadName.equals("CompletableFutureDelayScheduler")) {
return true;