tempest: remove confusing stack check step
We look at the heat event to see if the stack is created in less than
600 seconds. And then check the state is STACK_CREATED. But if the setup
is slow (like in rdo/puppet jobs) the state after the event occurs is
STACK_CREATE_IN_PROGRESS and 5 seconds can be not enough to have the
stack fully created.
The save occurs for the update.
This change removes the event checking and just wait 600 for
STACK_CREATED/STACK_UPDATED.
Change-Id: I3ef2898ce61227c62eb02fedeec9ea429d35aa89
diff --git a/ceilometer/tests/integration/gabbi/gabbits-live/autoscaling.yaml b/ceilometer/tests/integration/gabbi/gabbits-live/autoscaling.yaml
index f0435f3..3670925 100644
--- a/ceilometer/tests/integration/gabbi/gabbits-live/autoscaling.yaml
+++ b/ceilometer/tests/integration/gabbi/gabbits-live/autoscaling.yaml
@@ -26,18 +26,6 @@
data: <@create_stack.json
status: 201
- - name: waiting for stack creation
- desc: Wait for the second event on the stack resource, it can be a success or failure
- url: $ENVIRON['HEAT_SERVICE_URL']/stacks/integration_test/events?resource_name=integration_test
- redirects: true
- method: GET
- status: 200
- poll:
- count: 300
- delay: 1
- response_json_paths:
- $.events[1].resource_name: integration_test
-
- name: control stack status
desc: Checks the stack have been created successfully
url: $ENVIRON['HEAT_SERVICE_URL']/stacks/integration_test
@@ -45,7 +33,7 @@
method: GET
status: 200
poll:
- count: 5
+ count: 300
delay: 1
response_json_paths:
$.stack.stack_status: "CREATE_COMPLETE"
@@ -126,18 +114,6 @@
data: <@update_stack.json
status: 202
- - name: waiting for stack update
- desc: Wait for the third event on the stack resource, it can be a success or failure
- url: $ENVIRON['HEAT_SERVICE_URL']/stacks/integration_test/events?resource_name=integration_test
- redirects: true
- method: GET
- status: 200
- poll:
- count: 300
- delay: 1
- response_json_paths:
- $.events[3].resource_name: integration_test
-
- name: control stack status
desc: Checks the stack have been created successfully
url: $ENVIRON['HEAT_SERVICE_URL']/stacks/integration_test
@@ -145,7 +121,7 @@
method: GET
status: 200
poll:
- count: 5
+ count: 300
delay: 1
response_json_paths:
$.stack.stack_status: "UPDATE_COMPLETE"