aboutsummaryrefslogtreecommitdiffstats
path: root/templates/tests/fixup-weston-watchdog.jinja2
blob: 7f8185f1ec3b7f02271f7a39f80532e21c719d69 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
- 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:
          # disable the watchdog - for slow systems
          - sed -i -e "s#WatchdogSec=20#WatchdogSec=0#g" /usr/lib/systemd/user/agl-compositor.service
          # disable the coredumps - for slow systems
          - echo "kernel.core_pattern=/dev/null" > /etc/sysctl.d/50-coredump.conf
          - sysctl -p /etc/sysctl.d/50-coredump.conf
          - systemctl daemon-reload
          - sleep 5
      from: inline
      name: fixup-weston-watchdog
      path: inline/fixup-weston-watchdog.yaml