summaryrefslogtreecommitdiffstats
path: root/templates/tests/fixup-weston-watchdog.jinja2
diff options
context:
space:
mode:
authorJan-Simon Möller <jsmoeller@linuxfoundation.org>2021-12-06 17:41:28 +0100
committerJan-Simon Möller <jsmoeller@linuxfoundation.org>2021-12-06 17:41:28 +0100
commitfe5a8ac48f8c74ae4975e34976023ce2f6c5e8fa (patch)
tree67a62cd732677d4cd9a49676b077caf5c9765079 /templates/tests/fixup-weston-watchdog.jinja2
parentbef98eb7c240828035d091c7a626ad99d76a8caa (diff)
Add workaround for weston watchdog for emulation in CI
The emulated workers are slower than real hardware, thus extend the timeout. Bug-AGL: SPEC-4165 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Change-Id: I4113d1ad28964efb31a55121ff3dbb1a29893a6f
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
+