Add heat api gabbits tests to smoke
Change-Id: I9b9e12335caebe27571088b90d529fc866227856
Related-prod: PROD-21613
diff --git a/heat_tempest_plugin/tests/api/gabbits/stacks.yaml b/heat_tempest_plugin/tests/api/gabbits/stacks.yaml
index c230984..28bb442 100644
--- a/heat_tempest_plugin/tests/api/gabbits/stacks.yaml
+++ b/heat_tempest_plugin/tests/api/gabbits/stacks.yaml
@@ -6,13 +6,13 @@
X-Auth-Token: $ENVIRON['OS_TOKEN']
tests:
-- name: stack list
+- name: stack list smoke
GET: /stacks
status: 200
response_headers:
content-type: application/json
-- name: create empty stack
+- name: create empty stack smoke
POST: /stacks
request_headers:
content-type: application/json
@@ -30,7 +30,7 @@
location: //stacks/$ENVIRON['PREFIX']-empty/[a-f0-9-]+/
-- name: poll for empty CREATE_COMPLETE
+- name: poll for empty CREATE_COMPLETE smoke
GET: $LOCATION
redirects: True
poll:
@@ -39,17 +39,17 @@
response_json_paths:
$.stack.stack_status: CREATE_COMPLETE
-- name: show empty stack
+- name: show empty stack smoke
GET: $LAST_URL
redirects: True
status: 200
-- name: delete empty stack
+- name: delete empty stack smoke
DELETE: $LAST_URL
redirects: True
status: 204
-- name: create stack
+- name: create stack smoke
POST: /stacks
request_headers:
content-type: application/json
@@ -76,7 +76,7 @@
response_headers:
location: //stacks/$ENVIRON['PREFIX']-stack/[a-f0-9-]+/
-- name: poll for stack CREATE_COMPLETE
+- name: poll for stack CREATE_COMPLETE smoke
GET: $LOCATION
redirects: True
poll:
@@ -85,12 +85,12 @@
response_json_paths:
$.stack.stack_status: CREATE_COMPLETE
-- name: show stack
+- name: show stack smoke
GET: $LAST_URL
redirects: True
status: 200
-- name: update stack
+- name: update stack smoke
PUT: $LAST_URL
request_headers:
content-type: application/json
@@ -117,7 +117,7 @@
status: 202
-- name: poll for stack UPDATE_COMPLETE
+- name: poll for stack UPDATE_COMPLETE smoke
GET: $LAST_URL
redirects: True
poll:
@@ -126,7 +126,7 @@
response_json_paths:
$.stack.stack_status: UPDATE_COMPLETE
-- name: patch update stack
+- name: patch update stack smoke
PATCH: $LAST_URL
request_headers:
content-type: application/json
@@ -135,7 +135,7 @@
status: 202
-- name: poll for stack patch UPDATE_COMPLETE
+- name: poll for stack patch UPDATE_COMPLETE smoke
GET: $LAST_URL
redirects: True
poll:
@@ -143,23 +143,23 @@
delay: 1.0
response_json_paths:
$.stack.stack_status: UPDATE_COMPLETE
- $.stack.updated_time: /^(?!$HISTORY['poll for stack UPDATE_COMPLETE'].$RESPONSE['$.stack.updated_time'])/
+ $.stack.updated_time: /^(?!$HISTORY['poll for stack UPDATE_COMPLETE smoke'].$RESPONSE['$.stack.updated_time'])/
-- name: list stack outputs
+- name: list stack outputs smoke
GET: $LAST_URL/outputs
redirects: True
status: 200
response_json_paths:
$.outputs[0].output_key: output_value
-- name: get stack output
+- name: get stack output smoke
GET: $LAST_URL/output_value
redirects: True
status: 200
response_json_paths:
$.output.output_value: new_patched_value
-- name: delete stack
+- name: delete stack smoke
DELETE: /stacks/$ENVIRON['PREFIX']-stack
redirects: True
status: 204