[TEST] Add SuppressSysoutChecks to DistributorDirectoryTest
This commit is contained in:
parent
2c07588a1a
commit
6e81cb5cd6
|
@ -24,6 +24,7 @@ import com.carrotsearch.randomizedtesting.annotations.ThreadLeakScope;
|
||||||
import com.carrotsearch.randomizedtesting.annotations.TimeoutSuite;
|
import com.carrotsearch.randomizedtesting.annotations.TimeoutSuite;
|
||||||
import org.apache.lucene.store.BaseDirectoryTestCase;
|
import org.apache.lucene.store.BaseDirectoryTestCase;
|
||||||
import org.apache.lucene.store.Directory;
|
import org.apache.lucene.store.Directory;
|
||||||
|
import org.apache.lucene.util.LuceneTestCase;
|
||||||
import org.apache.lucene.util.TimeUnits;
|
import org.apache.lucene.util.TimeUnits;
|
||||||
import org.elasticsearch.test.ElasticsearchThreadFilter;
|
import org.elasticsearch.test.ElasticsearchThreadFilter;
|
||||||
import org.elasticsearch.test.junit.listeners.LoggingListener;
|
import org.elasticsearch.test.junit.listeners.LoggingListener;
|
||||||
|
@ -35,6 +36,7 @@ import java.io.IOException;
|
||||||
@ThreadLeakScope(ThreadLeakScope.Scope.NONE)
|
@ThreadLeakScope(ThreadLeakScope.Scope.NONE)
|
||||||
@TimeoutSuite(millis = 20 * TimeUnits.MINUTE) // timeout the suite after 20min and fail the test.
|
@TimeoutSuite(millis = 20 * TimeUnits.MINUTE) // timeout the suite after 20min and fail the test.
|
||||||
@Listeners(LoggingListener.class)
|
@Listeners(LoggingListener.class)
|
||||||
|
@LuceneTestCase.SuppressSysoutChecks(bugUrl = "we log a lot on purpose")
|
||||||
public class DistributorDirectoryTest extends BaseDirectoryTestCase {
|
public class DistributorDirectoryTest extends BaseDirectoryTestCase {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in New Issue