Skip to content

Commit

Permalink
github: cancel a job if it takes longer than 40 minutes
Browse files Browse the repository at this point in the history
in general, it takes less than 34 minutes to build the tree from
scratch and to test all tests, even with DPDK enabled. but to be
on the safe side, let's add 6 more minutes.

this helps to stop if we run into some unexpected infra issues,
or to identify some very time consuming tests.

see also
https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idtimeout-minutes

Signed-off-by: Kefu Chai <kefu.chai@scylladb.com>

Closes #2258
  • Loading branch information
tchaikov authored and xemul committed May 23, 2024
1 parent b822c94 commit a6369cd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ on:

jobs:
test:
timeout-minutes: 40
runs-on: ubuntu-latest
container: fedora:40
steps:
Expand Down

0 comments on commit a6369cd

Please sign in to comment.