[TEST] fixes shard count of source shard index in a restore shrink index
test
This commit is contained in:
parent
bc45d10e82
commit
0e74f5ddb1
|
@ -820,7 +820,7 @@ public class DedicatedClusterSnapshotRestoreIT extends AbstractSnapshotIntegTest
|
||||||
.put("compress", randomBoolean())));
|
.put("compress", randomBoolean())));
|
||||||
|
|
||||||
assertAcked(prepareCreate(sourceIdx, 0, Settings.builder()
|
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();
|
ensureGreen();
|
||||||
|
|
||||||
logger.info("--> indexing some data");
|
logger.info("--> indexing some data");
|
||||||
|
|
Loading…
Reference in New Issue