diff --git a/test_programs/simple_test.yaml b/test_programs/simple_test.yaml new file mode 100644 index 0000000..e18bc52 --- /dev/null +++ b/test_programs/simple_test.yaml @@ -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! diff --git a/test_programs/wait_test.yaml b/test_programs/wait_test.yaml new file mode 100644 index 0000000..32bfa0c --- /dev/null +++ b/test_programs/wait_test.yaml @@ -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!