[TEST] fixes shard count of source shard index in a restore shrink index

test
This commit is contained in:
Ali Beyad 2017-04-26 16:34:53 -04:00
parent bc45d10e82
commit 0e74f5ddb1
1 changed files with 1 additions and 1 deletions

View File

@ -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");