Skip to content

Commit

Permalink
Add stricter timeout enforcement for cases where a test stops respond…
Browse files Browse the repository at this point in the history
…ing to signals.
  • Loading branch information
insertinterestingnamehere committed Oct 31, 2023
1 parent 96e9466 commit 9f3b554
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ jobs:
./configure --enable-picky --with-scheduler=${{ matrix.scheduler }} --with-topology=${{ matrix.topology }}
make -j2
- name: make check
run: |
timeout --foreground 3m make check
run: timeout -k 10s --foreground 3m make check
timeout-minutes: 4

linux-clang:
runs-on: ubuntu-22.04
Expand Down Expand Up @@ -85,8 +85,8 @@ jobs:
./configure --enable-picky --with-scheduler=${{ matrix.scheduler }} --with-topology=${{ matrix.topology }}
make -j2
- name: make check
run: |
timeout --foreground 6m make check
run: timeout -k 10s --foreground 6m make check
timeout-minutes: 7

mac:
runs-on: macos-latest
Expand All @@ -113,8 +113,8 @@ jobs:
./configure $QTHREADS_ENABLE_ASSERTS --enable-picky --with-scheduler=${{ matrix.scheduler }} --with-topology=${{ matrix.topology }}
make -j3
- name: make check
run: |
gtimeout --foreground 8m make check
run: gtimeout -k 10s --foreground 8m make check
timeout-minutes: 9

sanitizers:
runs-on: ubuntu-22.04
Expand Down Expand Up @@ -154,8 +154,8 @@ jobs:
./configure --enable-picky --with-scheduler=${{ matrix.scheduler }} --with-topology=${{ matrix.topology }}
make -j2
- name: make check
run: |
timeout --foreground 8m make check
run: timeout -k 10s --foreground 8m make check
timeout-minutes: 9

linux-thorough:
runs-on: ubuntu-22.04
Expand Down Expand Up @@ -197,5 +197,5 @@ jobs:
./configure $QTHREADS_ENABLE_ASSERTS --enable-picky --with-scheduler=${{ matrix.scheduler }} --with-topology=${{ matrix.topology }}
make -j2
- name: make check
run: |
timeout --foreground 6m make check
run: timeout -k 10s --foreground 6m make check
timeout-minutes: 7

0 comments on commit 9f3b554

Please sign in to comment.