Add heat api gabbits tests to smoke
Change-Id: I9b9e12335caebe27571088b90d529fc866227856
Related-prod: PROD-32770
(cherry picked from commit f628d06008165a17b14a4dc4d1e8917084902aa4)
Follow up I9b9e12335caebe27571088b90d529fc866227856
Several tests were missing from smoke
Related-prod: PRODX-5293
Change-Id: I06a9544b67aabb7472d281ee50ab4b77cd78da73
(cherry picked from commit 276f3d0e3275b064e6127d3c84f2923c73984c74)
(cherry picked from commit 5a0e549ddab6bd4987953833bd495139ba647791)
(cherry picked from commit 1bde55bbf1a51395a9f617d34d90d542a765206c)
(cherry picked from commit 3eec9a25198b8bef36a656d4b062e8fbcdb121ea)
diff --git a/heat_tempest_plugin/tests/api/gabbits/stacks.yaml b/heat_tempest_plugin/tests/api/gabbits/stacks.yaml
index e2ce6a6..96246a9 100644
--- a/heat_tempest_plugin/tests/api/gabbits/stacks.yaml
+++ b/heat_tempest_plugin/tests/api/gabbits/stacks.yaml
@@ -6,14 +6,14 @@
X-Auth-Token: $ENVIRON['OS_TOKEN']
tests:
-- name: stack list
+- name: stack list smoke
desc: 39c0245e-6055-41cf-9f0e-15adfe55ded6
GET: /stacks
status: 200
response_headers:
content-type: application/json
-- name: create empty stack
+- name: create empty stack smoke
desc: bde1b827-65fb-47ea-909f-82537e6260d3
POST: /stacks
request_headers:
@@ -32,7 +32,7 @@
location: //stacks/$ENVIRON['PREFIX']-empty/[a-f0-9-]+/
-- name: poll for empty CREATE_COMPLETE
+- name: poll for empty CREATE_COMPLETE smoke
desc: f575e5c4-2aed-4381-9f0d-2dfcb0640c4b
GET: $LOCATION
redirects: True
@@ -42,19 +42,19 @@
response_json_paths:
$.stack.stack_status: CREATE_COMPLETE
-- name: show empty stack
+- name: show empty stack smoke
desc: 89b233fe-0d55-4959-9289-0b5dabe4e4c9
GET: $LAST_URL
redirects: True
status: 200
-- name: delete empty stack
+- name: delete empty stack smoke
desc: 7eca55fe-8300-43b6-a6b8-fb2d99b51911
DELETE: $LAST_URL
redirects: True
status: 204
-- name: create stack
+- name: create stack smoke
desc: 56ac2173-97c5-4347-bd32-529a260cfac3
POST: /stacks
request_headers:
@@ -82,7 +82,7 @@
response_headers:
location: //stacks/$ENVIRON['PREFIX']-stack/[a-f0-9-]+/
-- name: poll for stack CREATE_COMPLETE
+- name: poll for stack CREATE_COMPLETE smoke
desc: 6a0fe2dc-2822-4af3-b606-321ff7ad3de9
GET: $LOCATION
redirects: True
@@ -92,13 +92,13 @@
response_json_paths:
$.stack.stack_status: CREATE_COMPLETE
-- name: show stack
+- name: show stack smoke
desc: 9b268607-0335-4667-a613-bccf81e66f8f
GET: $LAST_URL
redirects: True
status: 200
-- name: update stack
+- name: update stack smoke
desc: 6bb1ec02-dd19-4b2c-9a6d-866ce666650f
PUT: $LAST_URL
request_headers:
@@ -126,7 +126,7 @@
status: 202
-- name: poll for stack UPDATE_COMPLETE
+- name: poll for stack UPDATE_COMPLETE smoke
desc: 3e280fb3-02b6-44fb-84dd-e04921d47733
GET: $LAST_URL
redirects: True
@@ -136,7 +136,7 @@
response_json_paths:
$.stack.stack_status: UPDATE_COMPLETE
-- name: patch update stack
+- name: patch update stack smoke
desc: 927cea42-a35b-4664-b209-ab2cb34e6ef4
PATCH: $LAST_URL
request_headers:
@@ -146,7 +146,7 @@
status: 202
-- name: poll for stack patch UPDATE_COMPLETE
+- name: poll for stack patch UPDATE_COMPLETE smoke
desc: a1cfd3b4-2536-4c54-94f4-12093f2ccf3b
GET: $LAST_URL
redirects: True
@@ -155,8 +155,9 @@
delay: 2.0
response_json_paths:
$.stack.stack_status: UPDATE_COMPLETE
+ $.stack.updated_time: /^(?!$HISTORY['poll for stack UPDATE_COMPLETE smoke'].$RESPONSE['$.stack.updated_time'])/
-- name: list stack outputs
+- name: list stack outputs smoke
desc: bbd98b50-b75b-44a1-b7e8-0a68fd7c6d33
GET: $LAST_URL/outputs
redirects: True
@@ -164,7 +165,7 @@
response_json_paths:
$.outputs[0].output_key: output_value
-- name: get stack output
+- name: get stack output smoke
desc: e761f5d7-70f6-4d95-a11b-e5fa0ecb43d2
GET: $LAST_URL/output_value
redirects: True
@@ -172,7 +173,7 @@
response_json_paths:
$.output.output_value: new_patched_value
-- name: delete stack
+- name: delete stack smoke
desc: bcf4c359-0a64-4652-b465-df3f688a9d4d
DELETE: /stacks/$ENVIRON['PREFIX']-stack
redirects: True