From 0e74f5ddb16dbd5377cea304b4075c048ff1eb22 Mon Sep 17 00:00:00 2001 From: Ali Beyad Date: Wed, 26 Apr 2017 16:34:53 -0400 Subject: [PATCH] [TEST] fixes shard count of source shard index in a restore shrink index test --- .../snapshots/DedicatedClusterSnapshotRestoreIT.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/test/java/org/elasticsearch/snapshots/DedicatedClusterSnapshotRestoreIT.java b/core/src/test/java/org/elasticsearch/snapshots/DedicatedClusterSnapshotRestoreIT.java index 10c49b431a5..2c1dfc899b6 100644 --- a/core/src/test/java/org/elasticsearch/snapshots/DedicatedClusterSnapshotRestoreIT.java +++ b/core/src/test/java/org/elasticsearch/snapshots/DedicatedClusterSnapshotRestoreIT.java @@ -820,7 +820,7 @@ public class DedicatedClusterSnapshotRestoreIT extends AbstractSnapshotIntegTest .put("compress", randomBoolean()))); assertAcked(prepareCreate(sourceIdx, 0, Settings.builder() - .put("number_of_shards", between(1, 20)).put("number_of_replicas", 0))); + .put("number_of_shards", between(2, 10)).put("number_of_replicas", 0))); ensureGreen(); logger.info("--> indexing some data");