Skip to content

Commit

Permalink
Add soft deletes setting in retention lease test
Browse files Browse the repository at this point in the history
This commit adds a missing soft deletes setting that was lost when the
commit was rebased on the latest 6.x branch before pushing. I am sorry.

Closes #38764
  • Loading branch information
jasontedor committed Feb 12, 2019
1 parent f12ac5e commit 5fad38e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -127,13 +127,13 @@ public void testRetentionLeasesSyncedOnAdd() throws Exception {
}
}

@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/38764")
public void testRetentionLeaseSyncedOnRemove() throws Exception {
final int numberOfReplicas = 2 - scaledRandomIntBetween(0, 2);
internalCluster().ensureAtLeastNumDataNodes(1 + numberOfReplicas);
final Settings settings = Settings.builder()
.put("index.number_of_shards", 1)
.put("index.number_of_replicas", numberOfReplicas)
.put(IndexSettings.INDEX_SOFT_DELETES_SETTING.getKey(), true)
.build();
createIndex("index", settings);
ensureGreen("index");
Expand Down

0 comments on commit 5fad38e

Please sign in to comment.