Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
Signed-off-by: Shivansh Arora <[email protected]>
  • Loading branch information
shiv0408 committed Feb 12, 2024
1 parent 350f9f4 commit 6843eb2
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -850,7 +850,7 @@ public void testSingleShardStoreFetchUsingBatchAction() throws ExecutionExceptio
}

public void testShardStoreFetchMultiNodeMultiIndexesUsingBatchAction() throws Exception {
internalCluster().startNode();
internalCluster().startNodes(2);
String indexName1 = "test1";
String indexName2 = "test2";
DiscoveryNode[] nodes = getDiscoveryNodes();
Expand Down Expand Up @@ -886,7 +886,7 @@ public void testShardStoreFetchNodeNotConnectedUsingBatchAction() {
}

public void testShardStoreFetchCorruptedIndexUsingBatchAction() throws Exception {
internalCluster().startNode();
internalCluster().startNodes(2);
String indexName = "test";
prepareIndices(new String[] { indexName }, 1, 1);
Map<ShardId, ShardAttributes> shardAttributesMap = prepareRequestMap(new String[] { indexName }, 1);
Expand Down

0 comments on commit 6843eb2

Please sign in to comment.