Depend on corresponding server in WaitCondition

most of the templates used in scenario tests already do this
to exclude unpredictable (especially in virtualized cloud CI environments)
server boot from the wait condition timeout, however 3 templates
(used in 3 tests) are missing this at the moment.

This patch adds an explicit depends_on on the server that the
WaitCondition is waiting for in all scanario templates that use
WaitConditions.

Change-Id: I43d5b3862970db5217651b570525f696910bf320
This commit is contained in:
Pavlo Shchelokovskyy 2020-12-14 16:22:11 +02:00
parent 5a484926ad
commit 448a6686b5
3 changed files with 3 additions and 0 deletions

View File

@ -108,6 +108,7 @@ resources:
wait_condition:
type: OS::Heat::WaitCondition
depends_on: server
properties:
handle: {get_resource: wait_handle}
timeout: {get_param: timeout}

View File

@ -97,6 +97,7 @@ resources:
wait_condition:
type: AWS::CloudFormation::WaitCondition
depends_on: instance
properties:
Count: 1
Handle: { get_resource: wait_handle }

View File

@ -107,6 +107,7 @@ resources:
wait_condition:
type: AWS::CloudFormation::WaitCondition
depends_on: instance
properties:
Count: 1
Handle: { get_resource: wait_handle }