summaryrefslogtreecommitdiffstats
path: root/templates/tests/fixup-weston-watchdog.jinja2
blob: e99650d53fa1fe6d16f2022ffe06e7a710449b48 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
- 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=180#g" /lib/systemd/system/weston.service
          - systemctl daemon-reload
          - systemctl restart weston.service
          - systemctl restart homescreen.service
          - sleep 90
          - journalctl --no-pager -a -b
      from: inline
      name: fixup-weston-watchdog
      path: inline/fixup-weston-watchdog.yaml