commit | 9152bb5d8580c0d414427fa9e7aa350e65800692 | [log] [tgz] |
---|---|---|
author | Pavlo Shchelokovskyy <shchelokovskyy@gmail.com> | Mon Dec 14 16:22:11 2020 +0200 |
committer | Dmitrii Eremeev <deremeev@mirantis.com> | Mon Jan 17 15:27:31 2022 +0000 |
tree | eab532246e4bc0b45e790a2c4d2a0050144b0ef6 | |
parent | 3f629139d97c6fafa6de553eea99a1c02f3670e5 [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 c2b7f3a90caf5cb4ac0151550503f03f741da1d5)
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 }