Browse Source

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.
Igor Motov 10 years ago
parent
commit
a7f8e636ba
1 changed files with 1 additions and 0 deletions
  1. 1 0
      dev-tools/create-bwc-index.py

+ 1 - 0
dev-tools/create-bwc-index.py

@@ -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')