Merge "Add periodic trigger plugin"
This commit is contained in:
@@ -579,6 +579,28 @@
|
||||
failure_rate:
|
||||
max: 0
|
||||
|
||||
-
|
||||
args:
|
||||
sleep: 0.25
|
||||
runner:
|
||||
type: "constant"
|
||||
times: 10
|
||||
concurrency: 2
|
||||
hooks:
|
||||
- name: sys_call
|
||||
description: test hook
|
||||
args: /bin/true
|
||||
trigger:
|
||||
name: periodic
|
||||
args:
|
||||
unit: iteration
|
||||
step: 2
|
||||
start: 4
|
||||
end: 8
|
||||
sla:
|
||||
failure_rate:
|
||||
max: 0
|
||||
|
||||
-
|
||||
args:
|
||||
sleep: 1
|
||||
@@ -599,6 +621,28 @@
|
||||
failure_rate:
|
||||
max: 0
|
||||
|
||||
-
|
||||
args:
|
||||
sleep: 1
|
||||
runner:
|
||||
type: "constant"
|
||||
times: 10
|
||||
concurrency: 1
|
||||
hooks:
|
||||
- name: sys_call
|
||||
description: test hook
|
||||
args: /bin/true
|
||||
trigger:
|
||||
name: periodic
|
||||
args:
|
||||
unit: time
|
||||
step: 2
|
||||
start: 0
|
||||
end: 6
|
||||
sla:
|
||||
failure_rate:
|
||||
max: 0
|
||||
|
||||
Dummy.dummy_exception:
|
||||
-
|
||||
args:
|
||||
|
||||
Reference in New Issue
Block a user