ARTEMIS-2577 Thread leak test failure with IBM JRE

Add the thread with name `MemoryMXBean` as expected on IBM JDK.
This commit is contained in:
brusdev 2019-12-16 14:35:44 +01:00
parent c2eb037919
commit 42fe6a8ee2
1 changed files with 2 additions and 0 deletions

View File

@ -248,6 +248,8 @@ public class ThreadLeakCheckRule extends TestWatcher {
return true; return true;
} else if (javaVendor.contains("IBM") && threadName.equals("MemoryPoolMXBean notification dispatcher")) { } else if (javaVendor.contains("IBM") && threadName.equals("MemoryPoolMXBean notification dispatcher")) {
return true; return true;
} else if (javaVendor.contains("IBM") && threadName.contains("MemoryMXBean")) {
return true;
} else if (threadName.contains("globalEventExecutor")) { } else if (threadName.contains("globalEventExecutor")) {
return true; return true;
} else if (threadName.contains("threadDeathWatcher")) { } else if (threadName.contains("threadDeathWatcher")) {