API Tests: Ensure updated_time changes in stack patch update

Check that the patch update has actually run and that we're not simply
looking at the UPDATE_COMPLETE status from the previous test, otherwise
the outputs may not have been updated before we run the next test.

Change-Id: Ia45a303e74e19e7d1887c4e242a8ee5655208e59
Closes-Bug: #1721692
This commit is contained in:
Zane Bitter 2017-10-06 15:14:09 -04:00
parent cd65a54213
commit 856381965d
1 changed files with 1 additions and 0 deletions

View File

@ -138,6 +138,7 @@ tests:
delay: 1.0
response_json_paths:
$.stack.stack_status: UPDATE_COMPLETE
$.stack.updated_time: /(?!$HISTORY['poll for stack UPDATE_COMPLETE'].$RESPONSE['$.stack.updated_time'])/
- name: list stack outputs
GET: $LAST_URL/outputs