summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/tests/health-test.jinja224
-rw-r--r--templates/tests/test1.jinja221
-rw-r--r--templates/tests/test2.jinja222
3 files changed, 24 insertions, 43 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
diff --git a/templates/tests/test1.jinja2 b/templates/tests/test1.jinja2
deleted file mode 100644
index 8b04691..0000000
--- a/templates/tests/test1.jinja2
+++ /dev/null
@@ -1,21 +0,0 @@
-
-- test:
- timeout:
- minutes: 2
- definitions:
- - repository:
- metadata:
- format: Lava-Test Test Definition 1.0
- name: test1
- description: "test1"
- os:
- - debian
- scope:
- - functional
- run:
- steps:
- - lava-test-set start test1
- - lava-test-case always-pass --shell true
- from: inline
- name: dummytest1
- path: inline/test1.yaml
diff --git a/templates/tests/test2.jinja2 b/templates/tests/test2.jinja2
deleted file mode 100644
index 4dd4a14..0000000
--- a/templates/tests/test2.jinja2
+++ /dev/null
@@ -1,22 +0,0 @@
-
-- test:
- timeout:
- minutes: 2
- definitions:
- - repository:
- metadata:
- format: Lava-Test Test Definition 1.0
- name: test2
- description: "test2"
- os:
- - debian
- scope:
- - functional
- run:
- steps:
- - lava-test-set start test2
- - lava-test-case always-fail --shell false
- from: inline
- name: dummytest2
- path: inline/test2.yaml
-