commit | 1e2dd1a7d29adabfa87552d54874b1e0bbfa0543 | [log] [tgz] |
---|---|---|
author | Pavlo Shchelokovskyy <shchelokovskyy@gmail.com> | Mon Dec 14 16:22:11 2020 +0200 |
committer | Pavlo Shchelokovskyy <shchelokovskyy@gmail.com> | Wed Apr 17 15:10:47 2024 +0000 |
tree | 73c967e902602899d86ed8c5b61bce1245432520 | |
parent | 4165e0039c885db895547a4b3367fc8c444b30cb [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 be96c84d0b72ab79892bc7978ee3f6386371bc58)
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 b1c9350..a0f550f 100644 --- a/heat_tempest_plugin/tests/scenario/templates/test_server_signal.yaml +++ b/heat_tempest_plugin/tests/scenario/templates/test_server_signal.yaml
@@ -109,6 +109,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 }