Skip to content

Commit bd80cdd

Browse files
authored
Let ESRestTestCase clean up after test in 10_usage.yml (#73716) (#73749)
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 cb463c4 commit bd80cdd

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)