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:
parent
c2eb037919
commit
42fe6a8ee2
|
@ -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")) {
|
||||||
|
|
Loading…
Reference in New Issue