Skip to content

Commit

Permalink
Fix failing flaky test. (opensearch-project#7797)
Browse files Browse the repository at this point in the history
Signed-off-by: Rishikesh1159 <[email protected]>
  • Loading branch information
Rishikesh1159 authored and austintlee committed Jun 2, 2023
1 parent d93bd95 commit 0cd6792
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 0cd6792

Please sign in to comment.