parent
a3c3d4073b
commit
9f57f26be4
|
@ -21,7 +21,10 @@ package org.elasticsearch.test.integration;
|
||||||
import com.carrotsearch.randomizedtesting.JUnit4MethodProvider;
|
import com.carrotsearch.randomizedtesting.JUnit4MethodProvider;
|
||||||
import com.carrotsearch.randomizedtesting.RandomizedTest;
|
import com.carrotsearch.randomizedtesting.RandomizedTest;
|
||||||
import com.carrotsearch.randomizedtesting.ThreadFilter;
|
import com.carrotsearch.randomizedtesting.ThreadFilter;
|
||||||
import com.carrotsearch.randomizedtesting.annotations.*;
|
import com.carrotsearch.randomizedtesting.annotations.Listeners;
|
||||||
|
import com.carrotsearch.randomizedtesting.annotations.TestMethodProviders;
|
||||||
|
import com.carrotsearch.randomizedtesting.annotations.ThreadLeakFilters;
|
||||||
|
import com.carrotsearch.randomizedtesting.annotations.ThreadLeakScope;
|
||||||
import com.carrotsearch.randomizedtesting.annotations.ThreadLeakScope.Scope;
|
import com.carrotsearch.randomizedtesting.annotations.ThreadLeakScope.Scope;
|
||||||
import org.apache.lucene.util.LuceneJUnit3MethodProvider;
|
import org.apache.lucene.util.LuceneJUnit3MethodProvider;
|
||||||
import org.apache.lucene.util.LuceneTestCase;
|
import org.apache.lucene.util.LuceneTestCase;
|
||||||
|
@ -30,17 +33,18 @@ import org.elasticsearch.common.logging.ESLogger;
|
||||||
import org.elasticsearch.common.logging.Loggers;
|
import org.elasticsearch.common.logging.Loggers;
|
||||||
import org.elasticsearch.junit.listerners.ReproduceInfoPrinter;
|
import org.elasticsearch.junit.listerners.ReproduceInfoPrinter;
|
||||||
import org.junit.runner.RunWith;
|
import org.junit.runner.RunWith;
|
||||||
|
|
||||||
@TestMethodProviders({
|
@TestMethodProviders({
|
||||||
LuceneJUnit3MethodProvider.class,
|
LuceneJUnit3MethodProvider.class,
|
||||||
JUnit4MethodProvider.class
|
JUnit4MethodProvider.class
|
||||||
})
|
})
|
||||||
@Listeners({
|
@Listeners({
|
||||||
ReproduceInfoPrinter.class
|
ReproduceInfoPrinter.class
|
||||||
})
|
})
|
||||||
@ThreadLeakFilters(defaultFilters = true, filters = {ElasticsearchTestCase.ElasticSearchThreadFilter.class})
|
@ThreadLeakFilters(defaultFilters = true, filters = {ElasticsearchTestCase.ElasticSearchThreadFilter.class})
|
||||||
@ThreadLeakScope(Scope.NONE)
|
@ThreadLeakScope(Scope.NONE)
|
||||||
@RunWith(value = com.carrotsearch.randomizedtesting.RandomizedRunner.class)
|
@RunWith(value = com.carrotsearch.randomizedtesting.RandomizedRunner.class)
|
||||||
public class ElasticsearchTestCase extends RandomizedTest {
|
public abstract class ElasticsearchTestCase extends RandomizedTest {
|
||||||
|
|
||||||
public static final Version TEST_VERSION_CURRENT = LuceneTestCase.TEST_VERSION_CURRENT;
|
public static final Version TEST_VERSION_CURRENT = LuceneTestCase.TEST_VERSION_CURRENT;
|
||||||
|
|
||||||
|
|
|
@ -27,8 +27,7 @@ import static org.elasticsearch.common.settings.ImmutableSettings.settingsBuilde
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class AbstractZenNodesTests extends AbstractNodesTests {
|
public abstract class AbstractZenNodesTests extends AbstractNodesTests {
|
||||||
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected final Settings getClassDefaultSettings() {
|
protected final Settings getClassDefaultSettings() {
|
||||||
|
|
Loading…
Reference in New Issue