commit | be96c84d0b72ab79892bc7978ee3f6386371bc58 | [log] [tgz] |
---|---|---|
author | Pavlo Shchelokovskyy <shchelokovskyy@gmail.com> | Mon Dec 14 16:22:11 2020 +0200 |
committer | Pavlo Shchelokovskyy <shchelokovskyy@gmail.com> | Wed Jun 08 14:10:08 2022 +0300 |
tree | c6b8d6c396f9dd90ac5fecc1493ac9744c896ebc | |
parent | 973398bdb9e6055417c0fcf1cc5c1cb5840a3089 [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)
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 a944053..90f1b47 100644 --- a/heat_tempest_plugin/tests/scenario/templates/test_server_signal.yaml +++ b/heat_tempest_plugin/tests/scenario/templates/test_server_signal.yaml
@@ -104,6 +104,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 }