don't fail if this test prints too much

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1592383 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Robert Muir 2014-05-04 17:01:41 +00:00
parent 8c4e826818
commit 0ed405ed96
1 changed files with 2 additions and 0 deletions

View File

@ -32,6 +32,7 @@ import org.apache.lucene.search.TimeLimitingCollector.TimerThread;
import org.apache.lucene.store.Directory;
import org.apache.lucene.util.Counter;
import org.apache.lucene.util.LuceneTestCase;
import org.apache.lucene.util.LuceneTestCase.SuppressSysoutChecks;
import org.apache.lucene.util.ThreadInterruptedException;
/**
@ -39,6 +40,7 @@ import org.apache.lucene.util.ThreadInterruptedException;
* correctness (regardless of timeout), (2) expected timeout behavior,
* and (3) a sanity test with multiple searching threads.
*/
@SuppressSysoutChecks(bugUrl = "http://test.is.timing.sensitive.so.it.prints.instead.of.failing")
public class TestTimeLimitingCollector extends LuceneTestCase {
private static final int SLOW_DOWN = 3;
private static final long TIME_ALLOWED = 17 * SLOW_DOWN; // so searches can find about 17 docs.