commit | 68d6e9f88be2d77b764a54b9b7c2dc2cda93f064 | [log] [tgz] |
---|---|---|
author | Pavlo Shchelokovskyy <shchelokovskyy@gmail.com> | Mon Dec 14 16:22:11 2020 +0200 |
committer | Pavlo Shchelokovskyy <shchelokovskyy@gmail.com> | Tue Dec 15 10:59:07 2020 +0000 |
tree | cdf9ba8065bc74f186bacf79963036b484606bb7 | |
parent | 714d2d746065498055d889f76e87890da6944396 [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) (cherry picked from commit 0d0c55f4d1704049ada058365ca31007f3eb60ef) (cherry picked from commit bb123b88967a0bb299e6d55d65b22ec552157256) (cherry picked from commit ab66b1d8ed78e0fac64c0a24738efcb701561ca6)
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 4556a2f..d24d483 100644 --- a/heat_tempest_plugin/tests/scenario/templates/test_server_signal.yaml +++ b/heat_tempest_plugin/tests/scenario/templates/test_server_signal.yaml
@@ -102,6 +102,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 }