ARTEMIS-2593 Thread leak test failure with OpenJ9 JVM
Add an exception for the thread with name `MemoryMXBean`.
This commit is contained in:
parent
757d38f53c
commit
9c858c6ba2
|
@ -248,7 +248,7 @@ public class ThreadLeakCheckRule extends TestWatcher {
|
|||
return true;
|
||||
} else if (javaVendor.contains("IBM") && threadName.equals("MemoryPoolMXBean notification dispatcher")) {
|
||||
return true;
|
||||
} else if (javaVendor.contains("IBM") && threadName.contains("MemoryMXBean")) {
|
||||
} else if (threadName.contains("MemoryMXBean")) {
|
||||
return true;
|
||||
} else if (threadName.contains("globalEventExecutor")) {
|
||||
return true;
|
||||
|
|
Loading…
Reference in New Issue