Add smoke mode for neutron jobs
Add new parameter smoke that allows to run only 1 iteration of each scenario and avoid any kind of concurrency issues This patch as well enables it Change-Id: I9625feb4f2f696a5765b809efcc81dc313e9ce05
This commit is contained in:
parent
b86d1aaad9
commit
f2d65679c4
@ -1,4 +1,6 @@
|
|||||||
{% set image_name = "^cirros.*uec$" %}
|
{% set image_name = "^cirros.*uec$" %}
|
||||||
|
{% set smoke = 1 %}
|
||||||
|
|
||||||
---
|
---
|
||||||
NeutronNetworks.create_and_list_networks:
|
NeutronNetworks.create_and_list_networks:
|
||||||
-
|
-
|
||||||
@ -6,7 +8,7 @@
|
|||||||
network_create_args:
|
network_create_args:
|
||||||
runner:
|
runner:
|
||||||
type: "constant"
|
type: "constant"
|
||||||
times: 40
|
times: {{smoke or 40}}
|
||||||
concurrency: 20
|
concurrency: 20
|
||||||
context:
|
context:
|
||||||
users:
|
users:
|
||||||
@ -28,7 +30,7 @@
|
|||||||
subnets_per_network: 2
|
subnets_per_network: 2
|
||||||
runner:
|
runner:
|
||||||
type: "constant"
|
type: "constant"
|
||||||
times: 15
|
times: {{smoke or 20 }}
|
||||||
concurrency: 10
|
concurrency: 10
|
||||||
context:
|
context:
|
||||||
users:
|
users:
|
||||||
@ -52,7 +54,7 @@
|
|||||||
router_create_args:
|
router_create_args:
|
||||||
runner:
|
runner:
|
||||||
type: "constant"
|
type: "constant"
|
||||||
times: 15
|
times: {{smoke or 15}}
|
||||||
concurrency: 5
|
concurrency: 5
|
||||||
context:
|
context:
|
||||||
users:
|
users:
|
||||||
@ -75,7 +77,7 @@
|
|||||||
ports_per_network: 4
|
ports_per_network: 4
|
||||||
runner:
|
runner:
|
||||||
type: "constant"
|
type: "constant"
|
||||||
times: 15
|
times: {{smoke or 15}}
|
||||||
concurrency: 5
|
concurrency: 5
|
||||||
context:
|
context:
|
||||||
users:
|
users:
|
||||||
@ -97,7 +99,7 @@
|
|||||||
pool_create_args: {}
|
pool_create_args: {}
|
||||||
runner:
|
runner:
|
||||||
type: "constant"
|
type: "constant"
|
||||||
times: 20
|
times: {{smoke or 20}}
|
||||||
concurrency: 10
|
concurrency: 10
|
||||||
context:
|
context:
|
||||||
users:
|
users:
|
||||||
@ -122,7 +124,7 @@
|
|||||||
name: "_updated"
|
name: "_updated"
|
||||||
runner:
|
runner:
|
||||||
type: "constant"
|
type: "constant"
|
||||||
times: 20
|
times: {{smoke or 20}}
|
||||||
concurrency: 10
|
concurrency: 10
|
||||||
context:
|
context:
|
||||||
users:
|
users:
|
||||||
@ -147,7 +149,7 @@
|
|||||||
name: "_subnet_updated"
|
name: "_subnet_updated"
|
||||||
runner:
|
runner:
|
||||||
type: "constant"
|
type: "constant"
|
||||||
times: 20
|
times: {{smoke or 20}}
|
||||||
concurrency: 10
|
concurrency: 10
|
||||||
context:
|
context:
|
||||||
users:
|
users:
|
||||||
@ -174,7 +176,7 @@
|
|||||||
name: "_router_updated"
|
name: "_router_updated"
|
||||||
runner:
|
runner:
|
||||||
type: "constant"
|
type: "constant"
|
||||||
times: 15
|
times: {{smoke or 15}}
|
||||||
concurrency: 5
|
concurrency: 5
|
||||||
context:
|
context:
|
||||||
users:
|
users:
|
||||||
@ -202,7 +204,7 @@
|
|||||||
name: "_port_updated"
|
name: "_port_updated"
|
||||||
runner:
|
runner:
|
||||||
type: "constant"
|
type: "constant"
|
||||||
times: 20
|
times: {{smoke or 20}}
|
||||||
concurrency: 10
|
concurrency: 10
|
||||||
context:
|
context:
|
||||||
users:
|
users:
|
||||||
@ -222,7 +224,7 @@
|
|||||||
network_create_args: {}
|
network_create_args: {}
|
||||||
runner:
|
runner:
|
||||||
type: "constant"
|
type: "constant"
|
||||||
times: 20
|
times: {{smoke or 20}}
|
||||||
concurrency: 10
|
concurrency: 10
|
||||||
context:
|
context:
|
||||||
users:
|
users:
|
||||||
@ -245,7 +247,7 @@
|
|||||||
subnets_per_network: 2
|
subnets_per_network: 2
|
||||||
runner:
|
runner:
|
||||||
type: "constant"
|
type: "constant"
|
||||||
times: 20
|
times: {{smoke or 20}}
|
||||||
concurrency: 10
|
concurrency: 10
|
||||||
context:
|
context:
|
||||||
users:
|
users:
|
||||||
@ -269,7 +271,7 @@
|
|||||||
router_create_args: {}
|
router_create_args: {}
|
||||||
runner:
|
runner:
|
||||||
type: "constant"
|
type: "constant"
|
||||||
times: 15
|
times: {{smoke or 15}}
|
||||||
concurrency: 5
|
concurrency: 5
|
||||||
context:
|
context:
|
||||||
users:
|
users:
|
||||||
@ -292,7 +294,7 @@
|
|||||||
ports_per_network: 10
|
ports_per_network: 10
|
||||||
runner:
|
runner:
|
||||||
type: "constant"
|
type: "constant"
|
||||||
times: 8
|
times: {{smoke or 8}}
|
||||||
concurrency: 4
|
concurrency: 4
|
||||||
context:
|
context:
|
||||||
users:
|
users:
|
||||||
@ -312,7 +314,7 @@
|
|||||||
max_quota: 1024
|
max_quota: 1024
|
||||||
runner:
|
runner:
|
||||||
type: "constant"
|
type: "constant"
|
||||||
times: 10
|
times: {{smoke or 10}}
|
||||||
concurrency: 2
|
concurrency: 2
|
||||||
context:
|
context:
|
||||||
users:
|
users:
|
||||||
@ -335,8 +337,8 @@
|
|||||||
concurrency: 1
|
concurrency: 1
|
||||||
context:
|
context:
|
||||||
users:
|
users:
|
||||||
tenants: 3
|
tenants: 1
|
||||||
users_per_tenant: 2
|
users_per_tenant: 1
|
||||||
sla:
|
sla:
|
||||||
failure_rate:
|
failure_rate:
|
||||||
max: 0
|
max: 0
|
||||||
@ -354,8 +356,8 @@
|
|||||||
concurrency: 1
|
concurrency: 1
|
||||||
context:
|
context:
|
||||||
users:
|
users:
|
||||||
tenants: 3
|
tenants: 2
|
||||||
users_per_tenant: 2
|
users_per_tenant: 1
|
||||||
network:
|
network:
|
||||||
start_cidr: "10.2.0.0/24"
|
start_cidr: "10.2.0.0/24"
|
||||||
networks_per_tenant: 2
|
networks_per_tenant: 2
|
||||||
@ -370,7 +372,7 @@
|
|||||||
rules_per_security_group: 5
|
rules_per_security_group: 5
|
||||||
runner:
|
runner:
|
||||||
type: "constant"
|
type: "constant"
|
||||||
times: 4
|
times: {{smoke or 4}}
|
||||||
concurrency: 4
|
concurrency: 4
|
||||||
context:
|
context:
|
||||||
users:
|
users:
|
||||||
@ -391,11 +393,11 @@
|
|||||||
rules_per_security_group: 5
|
rules_per_security_group: 5
|
||||||
runner:
|
runner:
|
||||||
type: "constant"
|
type: "constant"
|
||||||
times: 2
|
times: {{smoke or 4}}
|
||||||
concurrency: 1
|
concurrency: 4
|
||||||
context:
|
context:
|
||||||
users:
|
users:
|
||||||
tenants: 3
|
tenants: 2
|
||||||
users_per_tenant: 2
|
users_per_tenant: 2
|
||||||
quotas:
|
quotas:
|
||||||
neutron:
|
neutron:
|
||||||
@ -417,10 +419,10 @@
|
|||||||
username: "cirros"
|
username: "cirros"
|
||||||
runner:
|
runner:
|
||||||
type: "constant"
|
type: "constant"
|
||||||
times: 4
|
times: {{smoke or 4}}
|
||||||
concurrency: 2
|
concurrency: 2
|
||||||
context:
|
context:
|
||||||
users:
|
users:
|
||||||
tenants: 3
|
tenants: 2
|
||||||
users_per_tenant: 2
|
users_per_tenant: 2
|
||||||
network: {}
|
network: {}
|
||||||
|
Loading…
Reference in New Issue
Block a user