aboutsummaryrefslogtreecommitdiffstats
path: root/templates/tests/fixup-weston-watchdog.jinja2
diff options
context:
space:
mode:
Diffstat (limited to 'templates/tests/fixup-weston-watchdog.jinja2')
-rw-r--r--templates/tests/fixup-weston-watchdog.jinja219
1 files changed, 19 insertions, 0 deletions
diff --git a/templates/tests/fixup-weston-watchdog.jinja2 b/templates/tests/fixup-weston-watchdog.jinja2
new file mode 100644
index 0000000..ce403b4
--- /dev/null
+++ b/templates/tests/fixup-weston-watchdog.jinja2
@@ -0,0 +1,19 @@
+- test:
+ failure_retry: 3
+ definitions:
+ - repository:
+ metadata:
+ format: Lava-Test Test Definition 1.0
+ name: fixup-weston-watchdog
+ description: "extend watchdog on virtual"
+ run:
+ steps:
+ - sed -i -e "s#WatchdogSec=20#WatchdogSec=60#g" /lib/systemd/system/weston.service
+ - systemctl daemon-reload
+ - systemctl restart weston.service
+ - sleep 60
+ - journalctl --no-pager -a -b
+ from: inline
+ name: fixup-weston-watchdog
+ path: inline/fixup-weston-watchdog.yaml
+