summaryrefslogtreecommitdiffstats
path: root/templates/tests/health-test.jinja2
diff options
context:
space:
mode:
Diffstat (limited to 'templates/tests/health-test.jinja2')
-rw-r--r--templates/tests/health-test.jinja224
1 files changed, 24 insertions, 0 deletions
diff --git a/templates/tests/health-test.jinja2 b/templates/tests/health-test.jinja2
new file mode 100644
index 0000000..3b01dfe
--- /dev/null
+++ b/templates/tests/health-test.jinja2
@@ -0,0 +1,24 @@
+- test:
+ timeout:
+ minutes: 2
+ definitions:
+ - repository:
+ metadata:
+ format: Lava-Test Test Definition 1.0
+ name: inline-test
+ description: "Inline test to validate test framewrok health"
+ os:
+ - debian
+ scope:
+ - functional
+ run:
+ steps:
+ - lava-test-set start set-pass
+ - lava-test-case always-pass --shell true
+ - lava-test-set stop set-pass
+ - lava-test-set start set-fail
+ - lava-test-case always-fail --shell false
+ - lava-test-set stop set-fail
+ from: inline
+ name: health-test
+ path: inline/health-test.yaml