Skip to content

Commit 75be4bd

Browse files
committed
TEST: Always enable soft-deletes in ShardChangesTests
1 parent e43a18f commit 75be4bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

x-pack/plugin/ccr/src/test/java/org/elasticsearch/xpack/ccr/action/ShardChangesTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ protected Collection<Class<? extends Plugin>> getPlugins() {
3333
// this emulates what the CCR persistent task will do for pulling
3434
public void testGetOperationsBasedOnGlobalSequenceId() throws Exception {
3535
client().admin().indices().prepareCreate("index")
36-
.setSettings(Settings.builder().put("index.number_of_shards", 1))
36+
.setSettings(Settings.builder().put("index.number_of_shards", 1).put("index.soft_deletes.enabled", true))
3737
.get();
3838

3939
client().prepareIndex("index", "doc", "1").setSource("{}", XContentType.JSON).get();

0 commit comments

Comments
 (0)