NO-JIRA Adding known threads to stick around

This commit is contained in:
Clebert Suconic 2018-02-27 13:06:35 -05:00
parent bd0c80d47b
commit c6028c779f
1 changed files with 2 additions and 0 deletions

View File

@ -230,6 +230,8 @@ public class ThreadLeakCheckRule extends TestWatcher {
if (threadName.contains("SunPKCS11")) { if (threadName.contains("SunPKCS11")) {
return true; return true;
} else if (threadName.contains("Keep-Alive-Timer")) {
return true;
} else if (threadName.contains("Attach Listener")) { } else if (threadName.contains("Attach Listener")) {
return true; return true;
} else if ((javaVendor.contains("IBM") || isSystemThread) && threadName.equals("process reaper")) { } else if ((javaVendor.contains("IBM") || isSystemThread) && threadName.equals("process reaper")) {