fixed ClusterStatsIT test (take 2)

Original commit: elastic/x-pack-elasticsearch@28f0f7bc9d
This commit is contained in:
uboness 2015-09-30 11:12:47 +02:00
parent 71127c7b4f
commit 42dac35d98
1 changed files with 1 additions and 5 deletions

View File

@ -12,7 +12,6 @@ import org.elasticsearch.marvel.agent.collector.cluster.ClusterStatsCollector;
import org.elasticsearch.marvel.agent.settings.MarvelSettings; import org.elasticsearch.marvel.agent.settings.MarvelSettings;
import org.elasticsearch.marvel.test.MarvelIntegTestCase; import org.elasticsearch.marvel.test.MarvelIntegTestCase;
import org.elasticsearch.search.SearchHit; import org.elasticsearch.search.SearchHit;
import org.elasticsearch.test.ESIntegTestCase;
import org.elasticsearch.test.ESIntegTestCase.ClusterScope; import org.elasticsearch.test.ESIntegTestCase.ClusterScope;
import org.junit.Test; import org.junit.Test;
@ -23,10 +22,7 @@ import static org.elasticsearch.common.xcontent.XContentFactory.jsonBuilder;
import static org.elasticsearch.test.ESIntegTestCase.Scope.SUITE; import static org.elasticsearch.test.ESIntegTestCase.Scope.SUITE;
import static org.hamcrest.Matchers.greaterThan; import static org.hamcrest.Matchers.greaterThan;
import org.apache.lucene.util.LuceneTestCase.AwaitsFix; @ClusterScope(scope = SUITE, numClientNodes = 0)
@ClusterScope(scope = SUITE, maxNumDataNodes = 2)
@AwaitsFix(bugUrl = "https://github.com/elastic/x-plugins/issues/729")
public class ClusterStatsTests extends MarvelIntegTestCase { public class ClusterStatsTests extends MarvelIntegTestCase {
@Override @Override