We are matching on the exact number of shards in this test, but may run into snapshotting more than the single index created in it due to auto-created indices like `.watcher`. Fixed by making the test only take a snapshot of the single index used by this test. Closes #50450
This commit is contained in:
parent
9a56290ea6
commit
cec02da0ac
|
@ -40,6 +40,8 @@ setup:
|
||||||
repository: test_repo_restore_1
|
repository: test_repo_restore_1
|
||||||
snapshot: test_snapshot
|
snapshot: test_snapshot
|
||||||
wait_for_completion: true
|
wait_for_completion: true
|
||||||
|
body: |
|
||||||
|
{ "indices": "test_index" }
|
||||||
|
|
||||||
- match: { snapshot.snapshot: test_snapshot }
|
- match: { snapshot.snapshot: test_snapshot }
|
||||||
- match: { snapshot.state : SUCCESS }
|
- match: { snapshot.state : SUCCESS }
|
||||||
|
|
Loading…
Reference in New Issue