Skip to content

Commit

Permalink
Increase task timeouts (#1184)
Browse files Browse the repository at this point in the history
* Increase task timeouts

* Update comment

Co-authored-by: Jérôme Tamarelle <[email protected]>

---------

Co-authored-by: Jérôme Tamarelle <[email protected]>
  • Loading branch information
alcaeus and GromNaN authored Oct 18, 2023
1 parent bf22101 commit ba372d5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .evergreen/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ command_type: system
# Fail builds when pre tasks fail.
pre_error_fails_task: true

# Protect ourselves against rogue test case that runs forever. Tasks are killed after 10 minutes, which shouldn't occur
# Protect ourselves against rogue test case that runs forever. Tasks are killed after 20 minutes, which shouldn't occur
# under normal circumstances.
exec_timeout_secs: 600
exec_timeout_secs: 1200

# These pre and post rules apply to all tasks not part of a task group, which should only ever be tests against local
# MongoDB instances. All other tasks that require special preparation should be run from within a task group
Expand Down
2 changes: 2 additions & 0 deletions .evergreen/config/test-tasks.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
tasks:
- name: "test-atlas"
exec_timeout_secs: 1800
commands:
- func: "start kms servers"
- func: "run tests"
Expand All @@ -8,6 +9,7 @@ tasks:

- name: "test-serverless"
tags: ["serverless"]
exec_timeout_secs: 1800
commands:
- func: "create serverless instance"
- func: "start kms servers"
Expand Down

0 comments on commit ba372d5

Please sign in to comment.