aboutsummaryrefslogtreecommitdiffstats
path: root/templates/tests/health-test.jinja2
diff options
context:
space:
mode:
authorLoys Ollivier <lollivier@baylibre.com>2017-10-05 15:08:04 +0200
committerLoys Ollivier <lollivier@baylibre.com>2017-10-05 15:08:04 +0200
commit52dde34b4c54acabfe0a9a3f77b6869bc144f003 (patch)
tree9a04e3c2010720678c8e3efa1fedaf60168584e3 /templates/tests/health-test.jinja2
parent06c31d6239b59feb4337a7995edd771838fb2277 (diff)
Merge health tests into one
Merge the two health tests into one unique. Change-Id: I59f55d282338eee507d490e5d70d96c9b5023d37 Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
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