Skip to content

Commit

Permalink
Fix failing flaky test. (opensearch-project#7797) (opensearch-project…
Browse files Browse the repository at this point in the history
…#7823)

(cherry picked from commit a201400)

Signed-off-by: Rishikesh1159 <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
2 people authored and gaiksaya committed Jun 26, 2023
1 parent f3774fd commit 9696c1d
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,7 @@ public void testSnapshotRestoreOnIndexWithSegRepClusterSetting() throws Exceptio
Settings.builder()
// we want to override cluster replication setting by passing a index replication setting
.put(IndexMetadata.SETTING_REPLICATION_TYPE, ReplicationType.DOCUMENT)
.put(IndexMetadata.SETTING_NUMBER_OF_REPLICAS, REPLICA_COUNT)
).get();
ensureYellowAndNoInitializingShards(INDEX_NAME);
final String replicaNode = internalCluster().startNode(settings);
Expand Down

0 comments on commit 9696c1d

Please sign in to comment.