Browse Source

Rename the policies in put autoscaling REST tests

The autoscaling REST tests use policies named "hot" in their test
cases. Instead, this commit changes the name of these policies to
"my_autoscaling_policy".
Jason Tedor 5 years ago
parent
commit
d8b33e1d3a

+ 2 - 2
x-pack/plugin/autoscaling/qa/rest/src/test/resources/rest-api-spec/test/autoscaling/delete_autoscaling_policy.yml

@@ -2,7 +2,7 @@
 "Test delete autoscaling policy":
   - do:
       autoscaling.put_autoscaling_policy:
-        name: hot
+        name: my_autoscaling_policy
         body:
           policy:
             deciders:
@@ -12,7 +12,7 @@
 
   - do:
       autoscaling.delete_autoscaling_policy:
-        name: hot
+        name: my_autoscaling_policy
 
   # TODO: add validation that the policy is removed after we have a get policy API
 

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

@@ -2,7 +2,7 @@
 "Test put autoscaling policy":
   - do:
       autoscaling.put_autoscaling_policy:
-        name: hot
+        name: my_autoscaling_policy
         body:
           policy:
             deciders:
@@ -13,7 +13,7 @@
   - do:
       catch: bad_request
       autoscaling.put_autoscaling_policy:
-        name: hot
+        name: my_autoscaling_policy
         body:
           policy:
             deciders: