diff options
author | Morgan Richomme <morgan.richomme@orange.com> | 2016-04-22 15:46:31 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@172.30.200.206> | 2016-04-22 15:46:31 +0000 |
commit | c7d29ebd0487482d253262e2dc515d39ff5a2b46 (patch) | |
tree | 9e562ed9f61e95fda1a9d3a32e79d7be09daa83c /testcases/VIM/OpenStack/CI/rally_cert/scenario/opnfv-heat.yaml | |
parent | b71a8eebb0c5ee6cf6d7559b86501dd715e3d085 (diff) | |
parent | 9d597b415d92afca3b1b4bbacbb8f6276a25921a (diff) |
Merge "Introduce a sanity test mode for Rally test"
Diffstat (limited to 'testcases/VIM/OpenStack/CI/rally_cert/scenario/opnfv-heat.yaml')
-rw-r--r-- | testcases/VIM/OpenStack/CI/rally_cert/scenario/opnfv-heat.yaml | 47 |
1 files changed, 33 insertions, 14 deletions
diff --git a/testcases/VIM/OpenStack/CI/rally_cert/scenario/opnfv-heat.yaml b/testcases/VIM/OpenStack/CI/rally_cert/scenario/opnfv-heat.yaml index a854bcc2e..534d796ea 100644 --- a/testcases/VIM/OpenStack/CI/rally_cert/scenario/opnfv-heat.yaml +++ b/testcases/VIM/OpenStack/CI/rally_cert/scenario/opnfv-heat.yaml @@ -1,3 +1,7 @@ +{# all scenarios included only in full mode #} + +{% if full_mode %} + HeatStacks.create_and_delete_stack: - args: @@ -46,33 +50,31 @@ sla: {{ no_failures_sla() }} - HeatStacks.create_check_delete_stack: + HeatStacks.create_update_delete_stack: - args: template_path: "{{ tmpl_dir }}/random_strings.yaml.template" + updated_template_path: "{{ tmpl_dir }}/updated_random_strings_add.yaml.template" context: {{ user_context(tenants_amount, users_amount, use_existing_users) }} runner: {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }} sla: {{ no_failures_sla() }} - - HeatStacks.create_suspend_resume_delete_stack: - args: template_path: "{{ tmpl_dir }}/random_strings.yaml.template" + updated_template_path: "{{ tmpl_dir }}/updated_random_strings_delete.yaml.template" context: {{ user_context(tenants_amount, users_amount, use_existing_users) }} runner: {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }} sla: {{ no_failures_sla() }} - - HeatStacks.create_update_delete_stack: - args: - template_path: "{{ tmpl_dir }}/random_strings.yaml.template" - updated_template_path: "{{ tmpl_dir }}/updated_random_strings_add.yaml.template" + template_path: "{{ tmpl_dir }}/resource_group.yaml.template" + updated_template_path: "{{ tmpl_dir }}/updated_resource_group_increase.yaml.template" context: {{ user_context(tenants_amount, users_amount, use_existing_users) }} runner: @@ -81,8 +83,8 @@ {{ no_failures_sla() }} - args: - template_path: "{{ tmpl_dir }}/random_strings.yaml.template" - updated_template_path: "{{ tmpl_dir }}/updated_random_strings_delete.yaml.template" + template_path: "{{ tmpl_dir }}/autoscaling_policy.yaml.template" + updated_template_path: "{{ tmpl_dir }}/updated_autoscaling_policy_inplace.yaml.template" context: {{ user_context(tenants_amount, users_amount, use_existing_users) }} runner: @@ -92,7 +94,7 @@ - args: template_path: "{{ tmpl_dir }}/resource_group.yaml.template" - updated_template_path: "{{ tmpl_dir }}/updated_resource_group_increase.yaml.template" + updated_template_path: "{{ tmpl_dir }}/updated_resource_group_reduce.yaml.template" context: {{ user_context(tenants_amount, users_amount, use_existing_users) }} runner: @@ -101,6 +103,20 @@ {{ no_failures_sla() }} - args: + template_path: "{{ tmpl_dir }}/random_strings.yaml.template" + updated_template_path: "{{ tmpl_dir }}/updated_random_strings_replace.yaml.template" + context: + {{ user_context(tenants_amount, users_amount, use_existing_users) }} + runner: + {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }} + sla: + {{ no_failures_sla() }} + +{% else %} + + HeatStacks.create_update_delete_stack: + - + args: template_path: "{{ tmpl_dir }}/autoscaling_policy.yaml.template" updated_template_path: "{{ tmpl_dir }}/updated_autoscaling_policy_inplace.yaml.template" context: @@ -109,20 +125,24 @@ {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }} sla: {{ no_failures_sla() }} + +{% endif %} + + HeatStacks.create_check_delete_stack: - args: - template_path: "{{ tmpl_dir }}/resource_group.yaml.template" - updated_template_path: "{{ tmpl_dir }}/updated_resource_group_reduce.yaml.template" + template_path: "{{ tmpl_dir }}/random_strings.yaml.template" context: {{ user_context(tenants_amount, users_amount, use_existing_users) }} runner: {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }} sla: {{ no_failures_sla() }} + + HeatStacks.create_suspend_resume_delete_stack: - args: template_path: "{{ tmpl_dir }}/random_strings.yaml.template" - updated_template_path: "{{ tmpl_dir }}/updated_random_strings_replace.yaml.template" context: {{ user_context(tenants_amount, users_amount, use_existing_users) }} runner: @@ -138,4 +158,3 @@ {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }} sla: {{ no_failures_sla() }} - |