From fba811fa3ab74dd6fe342c2908990f8c225d9fbb Mon Sep 17 00:00:00 2001 From: Martijn van Groningen Date: Fri, 9 Nov 2018 15:31:51 +0100 Subject: [PATCH] [TEST] increased the number of index and delete ops to make it less likely that all ops exist as soft delete docs. --- .../org/elasticsearch/xpack/ccr/action/ShardChangesTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x-pack/plugin/ccr/src/test/java/org/elasticsearch/xpack/ccr/action/ShardChangesTests.java b/x-pack/plugin/ccr/src/test/java/org/elasticsearch/xpack/ccr/action/ShardChangesTests.java index f66a673e19d..0fb85650512 100644 --- a/x-pack/plugin/ccr/src/test/java/org/elasticsearch/xpack/ccr/action/ShardChangesTests.java +++ b/x-pack/plugin/ccr/src/test/java/org/elasticsearch/xpack/ccr/action/ShardChangesTests.java @@ -96,7 +96,7 @@ public class ShardChangesTests extends ESSingleNodeTestCase { .put("index.number_of_replicas", 0)) .get(); - for (int i = 0; i < 16; i++) { + for (int i = 0; i < 32; i++) { client().prepareIndex("index", "_doc", "1").setSource("{}", XContentType.JSON).get(); client().prepareDelete("index", "_doc", "1").get(); }