These filters are now inside the runner itself.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1395149 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Dawid Weiss 2012-10-06 18:56:15 +00:00
parent 4dc925bf4e
commit 558bd76ae5
1 changed files with 0 additions and 16 deletions

View File

@ -21,26 +21,10 @@ import com.carrotsearch.randomizedtesting.ThreadFilter;
/** /**
* Last minute patches. * Last minute patches.
* TODO: remove when integrated in system filters in rr.
*/ */
public class QuickPatchThreadsFilter implements ThreadFilter { public class QuickPatchThreadsFilter implements ThreadFilter {
@Override @Override
public boolean reject(Thread t) { public boolean reject(Thread t) {
// MacOS system thread.
if (t.getName().equals("AWT-AppKit")) {
return true;
}
// J9 memory pool thread.
if (t.getName().equals("MemoryPoolMXBean notification dispatcher")) {
return true;
}
// forked process reaper on Unixish systems
if (t.getName().equals("process reaper")) {
return true;
}
return false; return false;
} }
} }