Skip to content

Commit

Permalink
feat: implement no_output_timeout for the test command
Browse files Browse the repository at this point in the history
  • Loading branch information
eadderley authored Dec 14, 2023
1 parent 16c09e6 commit 77dcaa9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/commands/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ parameters:
type: boolean
# Switch this to true in a major release
default: false
no_output_timeout:
type: string
default: 10m
description: The amount of time to allow the command to run before timing out.
coverpkg:
description: |
Apply coverage analysis in each test to packages matching the patterns.
Expand All @@ -67,3 +71,4 @@ steps:
ORB_EVAL_COVER_PROFILE: <<parameters.coverprofile>>
command: <<include(scripts/test.sh)>>
name: "go test"
no_output_timeout: <<parameters.no_output_timeout>>
1 change: 1 addition & 0 deletions src/examples/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,4 @@ usage:
race: true
failfast: true
covermode: "atomic" # The preferred setting when enabling race
no_output_timeout: 15m # The amount of time to allow the go tests to run before timing out, defaults to "10m"

0 comments on commit 77dcaa9

Please sign in to comment.