mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-06-28 17:34:17 -04:00
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
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue