aboutsummaryrefslogtreecommitdiffstats
path: root/templates/tests/fixup-weston-watchdog.jinja2
blob: ce403b42d2cbf8cbf91702244f09a509db85a340 (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=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