ARTEMIS-2593 Thread leak test failure with OpenJ9 JVM

Add an exception for the thread with name `MemoryMXBean`.
This commit is contained in:
brusdev 2020-01-10 13:58:10 +01:00
parent 757d38f53c
commit 9c858c6ba2
1 changed files with 1 additions and 1 deletions

View File

@ -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;