]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
ci: reduce the timeout for local tests to 30 min
authorLaszlo Gombos <laszlo.gombos@gmail.com>
Wed, 7 Dec 2022 20:04:27 +0000 (20:04 +0000)
committerAntonio Álvarez Feijoo <antonio.feijoo@suse.com>
Wed, 21 Dec 2022 15:17:46 +0000 (16:17 +0100)
The main motivation here is to do not allow each test to grow beyond
30 min. If a longer test is needed for some reason, it should be
split into two tests.

Currently each local test is passing at 20 min.

The longest running local test is test 12: encrypted LVM PV
on a degraded RAID-5.

.github/workflows/integration.yml

index af7847a1d2f0acb27b44414a556511dc7c3babf8..3ed1a986f9c837ee2ccaf48236dc8a3699be8951 100644 (file)
@@ -10,7 +10,7 @@ env:
 jobs:
     basic:
         runs-on: ubuntu-latest
-        timeout-minutes: 45
+        timeout-minutes: 30
         concurrency:
             group: ${{ github.workflow }}-${{ github.ref }}-${{ matrix.container }}-${{ matrix.test }}
             cancel-in-progress: true
@@ -39,7 +39,7 @@ jobs:
                 run: ./tools/test-github.sh "TEST-${{ matrix.test }}" ${{ matrix.test }}
     test:
         runs-on: ubuntu-latest
-        timeout-minutes: 45
+        timeout-minutes: 30
         concurrency:
             group: ${{ github.workflow }}-${{ github.ref }}-${{ matrix.container }}-${{ matrix.test }}
             cancel-in-progress: true