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-neutron.yaml | 57 ++++++++++++---------- 1 file changed, 31 insertions(+), 26 deletions(-) (limited to 'testcases/VIM/OpenStack/CI/rally_cert/scenario/opnfv-neutron.yaml') diff --git a/testcases/VIM/OpenStack/CI/rally_cert/scenario/opnfv-neutron.yaml b/testcases/VIM/OpenStack/CI/rally_cert/scenario/opnfv-neutron.yaml index 3cdba95c7..3804d2589 100644 --- a/testcases/VIM/OpenStack/CI/rally_cert/scenario/opnfv-neutron.yaml +++ b/testcases/VIM/OpenStack/CI/rally_cert/scenario/opnfv-neutron.yaml @@ -1,7 +1,13 @@ - NeutronNetworks.create_and_delete_networks: +{# all scenarios included only in full mode #} + +{% if full_mode %} + + NeutronNetworks.create_and_update_networks: - args: network_create_args: {} + network_update_args: + admin_state_up: false context: {% call user_context(tenants_amount, users_amount, use_existing_users) %} quotas: @@ -13,11 +19,15 @@ sla: {{ no_failures_sla() }} - NeutronNetworks.create_and_delete_ports: + NeutronNetworks.create_and_update_ports: - args: network_create_args: {} port_create_args: {} + port_update_args: + admin_state_up: false + device_id: "dummy_id" + device_owner: "dummy_owner" ports_per_network: 1 context: {% call user_context(tenants_amount, users_amount, use_existing_users) %} @@ -32,11 +42,13 @@ sla: {{ no_failures_sla() }} - NeutronNetworks.create_and_delete_routers: + NeutronNetworks.create_and_update_routers: - args: network_create_args: {} router_create_args: {} + router_update_args: + admin_state_up: false subnet_cidr_start: "1.1.0.0/30" subnet_create_args: {} subnets_per_network: 1 @@ -55,12 +67,14 @@ sla: {{ no_failures_sla() }} - NeutronNetworks.create_and_delete_subnets: + NeutronNetworks.create_and_update_subnets: - args: network_create_args: {} - subnet_cidr_start: "1.1.0.0/30" + subnet_cidr_start: "1.4.0.0/16" subnet_create_args: {} + subnet_update_args: + enable_dhcp: false subnets_per_network: 1 context: {% call user_context(tenants_amount, users_amount, use_existing_users) %} @@ -75,7 +89,9 @@ sla: {{ no_failures_sla() }} - NeutronNetworks.create_and_list_networks: +{% endif %} + + NeutronNetworks.create_and_delete_networks: - args: network_create_args: {} @@ -90,7 +106,7 @@ sla: {{ no_failures_sla() }} - NeutronNetworks.create_and_list_ports: + NeutronNetworks.create_and_delete_ports: - args: network_create_args: {} @@ -109,7 +125,7 @@ sla: {{ no_failures_sla() }} - NeutronNetworks.create_and_list_routers: + NeutronNetworks.create_and_delete_routers: - args: network_create_args: {} @@ -124,6 +140,7 @@ neutron: network: -1 subnet: -1 + port: -1 router: -1 {% endcall %} runner: @@ -131,7 +148,7 @@ sla: {{ no_failures_sla() }} - NeutronNetworks.create_and_list_subnets: + NeutronNetworks.create_and_delete_subnets: - args: network_create_args: {} @@ -151,12 +168,10 @@ sla: {{ no_failures_sla() }} - NeutronNetworks.create_and_update_networks: + NeutronNetworks.create_and_list_networks: - args: network_create_args: {} - network_update_args: - admin_state_up: false context: {% call user_context(tenants_amount, users_amount, use_existing_users) %} quotas: @@ -168,15 +183,11 @@ sla: {{ no_failures_sla() }} - NeutronNetworks.create_and_update_ports: + NeutronNetworks.create_and_list_ports: - args: network_create_args: {} port_create_args: {} - port_update_args: - admin_state_up: false - device_id: "dummy_id" - device_owner: "dummy_owner" ports_per_network: 1 context: {% call user_context(tenants_amount, users_amount, use_existing_users) %} @@ -191,13 +202,11 @@ sla: {{ no_failures_sla() }} - NeutronNetworks.create_and_update_routers: + NeutronNetworks.create_and_list_routers: - args: network_create_args: {} router_create_args: {} - router_update_args: - admin_state_up: false subnet_cidr_start: "1.1.0.0/30" subnet_create_args: {} subnets_per_network: 1 @@ -208,7 +217,6 @@ neutron: network: -1 subnet: -1 - port: -1 router: -1 {% endcall %} runner: @@ -216,14 +224,12 @@ sla: {{ no_failures_sla() }} - NeutronNetworks.create_and_update_subnets: + NeutronNetworks.create_and_list_subnets: - args: network_create_args: {} - subnet_cidr_start: "1.4.0.0/16" + subnet_cidr_start: "1.1.0.0/30" subnet_create_args: {} - subnet_update_args: - enable_dhcp: false subnets_per_network: 1 context: {% call user_context(tenants_amount, users_amount, use_existing_users) %} @@ -237,4 +243,3 @@ {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }} sla: {{ no_failures_sla() }} - -- cgit 1.2.3-korg