summaryrefslogtreecommitdiffstats
path: root/templates/tests/fixup-weston-watchdog.jinja2
blob: ac00de45d1b8107bed0d2f16c0f9c4c74f44c908 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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=240#g" /usr/lib/systemd/user/agl-compositor.service
          - systemctl daemon-reload
          - systemctl restart agl-session@agl-driver.service
          - sleep 60
          - journalctl --no-pager -a -b
      from: inline
      name: fixup-weston-watchdog
      path: inline/fixup-weston-watchdog.yaml