summaryrefslogtreecommitdiffstats
path: root/templates/tests
diff options
context:
space:
mode:
authorJan-Simon Moeller <jsmoeller@linuxfoundation.org>2021-12-21 23:27:26 +0100
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2021-12-21 23:27:26 +0100
commit22b2ef1385a3db0820ccaa7cd2d082f13a511e86 (patch)
tree0fb3029740a757a2f274cc187c0b86b267bb08c9 /templates/tests
parent1e2e1b8233a9417490cc4b7154d4fc5c8b8b0c79 (diff)
Adapt watchdog fix to new agl-compositor.service
The user session has a dedicated service file. Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I4d459ca9359f68a866b4dc0850da498426bc8cee
Diffstat (limited to 'templates/tests')
-rw-r--r--templates/tests/fixup-weston-watchdog.jinja27
1 files changed, 3 insertions, 4 deletions
diff --git a/templates/tests/fixup-weston-watchdog.jinja2 b/templates/tests/fixup-weston-watchdog.jinja2
index e99650d..e7d4f77 100644
--- a/templates/tests/fixup-weston-watchdog.jinja2
+++ b/templates/tests/fixup-weston-watchdog.jinja2
@@ -8,11 +8,10 @@
description: "extend watchdog on virtual"
run:
steps:
- - sed -i -e "s#WatchdogSec=20#WatchdogSec=180#g" /lib/systemd/system/weston.service
+ - sed -i -e "s#WatchdogSec=20#WatchdogSec=240#g" /usr/lib/systemd/user/agl-session.target.wants/agl-compositor.service
- systemctl daemon-reload
- - systemctl restart weston.service
- - systemctl restart homescreen.service
- - sleep 90
+ - systemctl restart agl-session@agl-driver.service
+ - sleep 60
- journalctl --no-pager -a -b
from: inline
name: fixup-weston-watchdog