rally-openstack/samples/tasks/scenarios/dummy/dummy-failure.json
zhangzhang f61b5bf221 Add sla section to samples
Add missing sla section and proper check
This work is originally porposed by Roman[1]

[1] https://review.openstack.org/#/c/348395/3

Change-Id: I4507aa82080b41cac4b87aa810865da9ffe015e6
Closes-bug: #1554857
2017-08-03 04:31:30 -04:00

23 lines
472 B
JSON

{
"Dummy.failure": [
{
"args": {
"sleep": 0.2,
"from_iteration": 5,
"to_iteration": 10,
"each": 2
},
"runner": {
"type": "constant",
"times": 20,
"concurrency": 5
},
"sla": {
"failure_rate": {
"max": 0
}
}
}
]
}