commit | 0d0c55f4d1704049ada058365ca31007f3eb60ef | [log] [tgz] |
---|---|---|
author | Pavlo Shchelokovskyy <shchelokovskyy@gmail.com> | Mon Dec 14 16:22:11 2020 +0200 |
committer | Pavlo Shchelokovskyy <shchelokovskyy@gmail.com> | Mon Dec 14 16:33:09 2020 +0200 |
tree | d08077ea91058461e3a709b986174ada412c73a6 | |
parent | 7fd947be5ef5fd89b2d9ba81c0d75083af89c333 [diff] |
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. Related-Issue: PRODX-9014 Change-Id: I43d5b3862970db5217651b570525f696910bf320 (cherry picked from commit 75c76767bfed3cbe1dc4b9943140d9e080652ceb) (cherry picked from commit a33a98411d2aeb81661f7c53b3604420aa5f7f52) (cherry picked from commit c4cb5cdf5bc4e6ff45239221aef02b884dfe5055)
diff --git a/heat_tempest_plugin/tests/scenario/templates/test_server_signal.yaml b/heat_tempest_plugin/tests/scenario/templates/test_server_signal.yaml index bb8f90c..7f87060 100644 --- a/heat_tempest_plugin/tests/scenario/templates/test_server_signal.yaml +++ b/heat_tempest_plugin/tests/scenario/templates/test_server_signal.yaml
@@ -98,6 +98,7 @@ wait_condition: type: OS::Heat::WaitCondition + depends_on: server properties: handle: {get_resource: wait_handle} timeout: {get_param: timeout}
diff --git a/heat_tempest_plugin/tests/scenario/templates/test_volumes_create_from_backup.yaml b/heat_tempest_plugin/tests/scenario/templates/test_volumes_create_from_backup.yaml index bc288f7..68057f2 100644 --- a/heat_tempest_plugin/tests/scenario/templates/test_volumes_create_from_backup.yaml +++ b/heat_tempest_plugin/tests/scenario/templates/test_volumes_create_from_backup.yaml
@@ -97,6 +97,7 @@ wait_condition: type: AWS::CloudFormation::WaitCondition + depends_on: instance properties: Count: 1 Handle: { get_resource: wait_handle }
diff --git a/heat_tempest_plugin/tests/scenario/templates/test_volumes_delete_snapshot.yaml b/heat_tempest_plugin/tests/scenario/templates/test_volumes_delete_snapshot.yaml index b383220..306ddcb 100644 --- a/heat_tempest_plugin/tests/scenario/templates/test_volumes_delete_snapshot.yaml +++ b/heat_tempest_plugin/tests/scenario/templates/test_volumes_delete_snapshot.yaml
@@ -107,6 +107,7 @@ wait_condition: type: AWS::CloudFormation::WaitCondition + depends_on: instance properties: Count: 1 Handle: { get_resource: wait_handle }