From 9d597b415d92afca3b1b4bbacbb8f6276a25921a Mon Sep 17 00:00:00 2001 From: Juha Kosonen Date: Fri, 22 Apr 2016 07:21:29 +0000 Subject: Introduce a sanity test mode for Rally test In a sanity test mode the number of iterations is reduced and only a subset of tests is executed. JIRA: FUNCTEST-220 Change-Id: I722f12b8cc6df29bfcb81b8798d8d0802b207d94 Signed-off-by: Juha Kosonen --- .../CI/rally_cert/scenario/opnfv-heat.yaml | 47 +++++++++++++++------- 1 file changed, 33 insertions(+), 14 deletions(-) (limited to 'testcases/VIM/OpenStack/CI/rally_cert/scenario/opnfv-heat.yaml') 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,13 +94,27 @@ - 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: {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }} sla: {{ 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" @@ -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() }} - -- cgit 1.2.3-korg