[TEST] Just start two nodes
This commit is contained in:
parent
41bcb3e0d3
commit
cbdd11777f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue