Simplify ClusterStateTests until resolvers are removed to make less racey

Original commit: elastic/x-pack-elasticsearch@bd44bf6a3b
This commit is contained in:
Chris Earle 2017-06-07 00:37:27 -04:00
parent b7c9fd7c93
commit 4b2d4a1e3b
1 changed files with 2 additions and 0 deletions

View File

@ -10,6 +10,7 @@ import org.elasticsearch.common.settings.Settings;
import org.elasticsearch.common.xcontent.NamedXContentRegistry; import org.elasticsearch.common.xcontent.NamedXContentRegistry;
import org.elasticsearch.common.xcontent.XContentType; import org.elasticsearch.common.xcontent.XContentType;
import org.elasticsearch.license.XPackLicenseState; import org.elasticsearch.license.XPackLicenseState;
import org.elasticsearch.test.ESIntegTestCase;
import org.elasticsearch.threadpool.TestThreadPool; import org.elasticsearch.threadpool.TestThreadPool;
import org.elasticsearch.threadpool.ThreadPool; import org.elasticsearch.threadpool.ThreadPool;
import org.elasticsearch.xpack.monitoring.MonitoredSystem; import org.elasticsearch.xpack.monitoring.MonitoredSystem;
@ -28,6 +29,7 @@ import java.util.Map;
import static org.hamcrest.Matchers.hasSize; import static org.hamcrest.Matchers.hasSize;
import static org.hamcrest.Matchers.notNullValue; import static org.hamcrest.Matchers.notNullValue;
@ESIntegTestCase.ClusterScope(numDataNodes = 1, supportsDedicatedMasters = false)
public class ClusterStateTests extends MonitoringIntegTestCase { public class ClusterStateTests extends MonitoringIntegTestCase {
private int randomInt = randomInt(); private int randomInt = randomInt();