Skip to content

Commit 7ecbeb7

Browse files
Fix autoscaling policy test cleanup (#60888)
Ensure that the put autoscaling policy rest test cleans up its policies so that they do not interfere with subsequent tests. Relates #59005
1 parent fb1fc72 commit 7ecbeb7

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

x-pack/plugin/autoscaling/qa/rest/src/test/resources/rest-api-spec/test/autoscaling/put_autoscaling_policy.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@
1010

1111
- match: { "acknowledged": true }
1212

13+
# test cleanup
14+
- do:
15+
autoscaling.delete_autoscaling_policy:
16+
name: my_autoscaling_policy
17+
1318
---
1419
"Test put autoscaling policy with non-existent decider":
1520
- do:

0 commit comments

Comments
 (0)