Tests: make sure that repository is not stored when old index file is created
Otherwise the fs repository metadata that points to non-existing location is stored in the old index cluster state, which causes warnings during OldIndexBackwardsCompatibilityTests.
This commit is contained in:
parent
b96bd201c1
commit
a7f8e636ba
|
@ -247,6 +247,7 @@ def snapshot_index(client, cfg):
|
|||
}
|
||||
})
|
||||
client.snapshot.create(repository='test_repo', snapshot='test_1', wait_for_completion=True)
|
||||
client.snapshot.delete_repository(repository='test_repo')
|
||||
|
||||
def compress_index(version, tmp_dir, output_dir):
|
||||
compress(tmp_dir, output_dir, 'index-%s.zip' % version, 'data')
|
||||
|
|
Loading…
Reference in New Issue