From cbdd11777f2677920a9f88feb99f23c831a7a59e Mon Sep 17 00:00:00 2001 From: Martijn van Groningen Date: Thu, 22 May 2014 21:13:52 +0200 Subject: [PATCH] [TEST] Just start two nodes --- .../search/scroll/SearchScrollWithFailingNodesTests.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/test/java/org/elasticsearch/search/scroll/SearchScrollWithFailingNodesTests.java b/src/test/java/org/elasticsearch/search/scroll/SearchScrollWithFailingNodesTests.java index 48866fd5233..aa78df4aec8 100644 --- a/src/test/java/org/elasticsearch/search/scroll/SearchScrollWithFailingNodesTests.java +++ b/src/test/java/org/elasticsearch/search/scroll/SearchScrollWithFailingNodesTests.java @@ -39,7 +39,7 @@ import static org.hamcrest.Matchers.*; /** */ -@ElasticsearchIntegrationTest.ClusterScope(scope = ElasticsearchIntegrationTest.Scope.TEST, numDataNodes = 2) +@ElasticsearchIntegrationTest.ClusterScope(scope = ElasticsearchIntegrationTest.Scope.TEST, numDataNodes = 0, numClientNodes = 0) public class SearchScrollWithFailingNodesTests extends ElasticsearchIntegrationTest { @Override @@ -55,6 +55,8 @@ public class SearchScrollWithFailingNodesTests extends ElasticsearchIntegrationT @Test @TestLogging("action.search:TRACE") public void testScanScrollWithShardExceptions() throws Exception { + cluster().startNode(); + cluster().startNode(); assertAcked( prepareCreate("test") // Enforces that only one shard can only be allocated to a single node