mirror of https://github.com/apache/lucene.git
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:
parent
4dc925bf4e
commit
558bd76ae5
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue