Added some simple tests
This commit is contained in:
parent
9dd9c6cd5f
commit
0c43fb85aa
28
test_programs/simple_test.yaml
Normal file
28
test_programs/simple_test.yaml
Normal file
@ -0,0 +1,28 @@
|
||||
---
|
||||
version: 1
|
||||
name: simple_test
|
||||
created_at: '2021-04-14T20:54:47.557000'
|
||||
load_plugins: ["sleep", "log"]
|
||||
|
||||
program:
|
||||
- command: log
|
||||
args:
|
||||
level: INFO
|
||||
message: This is a test program. Starting now...
|
||||
|
||||
- command: sleep
|
||||
args:
|
||||
secs: 1.2
|
||||
|
||||
- command: sleep
|
||||
args:
|
||||
secs: 20
|
||||
|
||||
- command: sleep
|
||||
args:
|
||||
secs: 5
|
||||
|
||||
- command: log
|
||||
args:
|
||||
level: INFO
|
||||
message: End of test program!
|
31
test_programs/wait_test.yaml
Normal file
31
test_programs/wait_test.yaml
Normal file
@ -0,0 +1,31 @@
|
||||
---
|
||||
version: 1
|
||||
name: wait_test
|
||||
created_at: '2021-04-14T20:54:47.557000'
|
||||
load_plugins: ["sleep", "log", "wait"]
|
||||
|
||||
program:
|
||||
- command: log
|
||||
args:
|
||||
level: INFO
|
||||
message: This is a test program. Starting now...
|
||||
|
||||
- command: sleep
|
||||
args:
|
||||
secs: 1.2
|
||||
|
||||
- command: sleep
|
||||
args:
|
||||
secs: 20
|
||||
|
||||
- command: wait
|
||||
args: {}
|
||||
|
||||
- command: sleep
|
||||
args:
|
||||
secs: 5
|
||||
|
||||
- command: log
|
||||
args:
|
||||
level: INFO
|
||||
message: End of test program!
|
Loading…
Reference in New Issue
Block a user