summaryrefslogtreecommitdiffstats
path: root/templates/tests/fixup-weston-watchdog.jinja2
blob: e7d4f770b60098f5f5438a3ec8f78413a3225426 (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-session.target.wants/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