Implement abort in scenario runners
* Implement abort() in all the scenario classes * Add a Dummy scenario for serial & constant_for_duration runners to the gate job Change-Id: I526d594ea9a185fc7d6e3add0f119b529b4a070a
This commit is contained in:
parent
2348fd1b4a
commit
e270a8a2b9
@ -230,6 +230,17 @@
|
|||||||
failure_rate:
|
failure_rate:
|
||||||
max: 0
|
max: 0
|
||||||
|
|
||||||
|
-
|
||||||
|
args:
|
||||||
|
sleep: 0.1
|
||||||
|
runner:
|
||||||
|
type: "constant_for_duration"
|
||||||
|
duration: 5
|
||||||
|
concurrency: 5
|
||||||
|
sla:
|
||||||
|
failure_rate:
|
||||||
|
max: 0
|
||||||
|
|
||||||
-
|
-
|
||||||
args:
|
args:
|
||||||
sleep: 0.001
|
sleep: 0.001
|
||||||
@ -241,6 +252,16 @@
|
|||||||
failure_rate:
|
failure_rate:
|
||||||
max: 0
|
max: 0
|
||||||
|
|
||||||
|
-
|
||||||
|
args:
|
||||||
|
sleep: 0.1
|
||||||
|
runner:
|
||||||
|
type: "serial"
|
||||||
|
times: 20
|
||||||
|
sla:
|
||||||
|
failure_rate:
|
||||||
|
max: 0
|
||||||
|
|
||||||
-
|
-
|
||||||
args:
|
args:
|
||||||
sleep: 0.01
|
sleep: 0.01
|
||||||
|
Loading…
Reference in New Issue
Block a user