Skip to content

Commit 450554a

Browse files
authored
Let ESRestTestCase clean up after test in 10_usage.yml (#73716)
In #73555 we updated ESRestTestCase so that it cleans up the searchable snapshots indices before cleaning up the snapshots and repositories. This test does not require to delete resources itself and can let ESRestTestCase do the clean up in the correct order.
1 parent 7ce9398 commit 450554a

File tree

1 file changed

+0
-12
lines changed
  • x-pack/plugin/src/yamlRestTest/resources/rest-api-spec/test/searchable_snapshots

1 file changed

+0
-12
lines changed

x-pack/plugin/src/yamlRestTest/resources/rest-api-spec/test/searchable_snapshots/10_usage.yml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -50,18 +50,6 @@ setup:
5050
- do:
5151
indices.delete:
5252
index: docs
53-
---
54-
teardown:
55-
56-
- do:
57-
snapshot.delete:
58-
repository: repository-fs
59-
snapshot: snapshot
60-
ignore: 404
61-
62-
- do:
63-
snapshot.delete_repository:
64-
repository: repository-fs
6553

6654
---
6755
"Tests searchable snapshots usage stats":

0 commit comments

Comments
 (0)