Skip to content

Commit

Permalink
feat: make go test timeout configurable in test job (#721)
Browse files Browse the repository at this point in the history
  • Loading branch information
kaldorn authored Jan 10, 2024
1 parent be1b62d commit 84a8158
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions orbs/shared/jobs/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@ parameters:
setup_remote_docker:
type: boolean
default: false
go_test_timeout:
description: Maps to gotest -timeout parameter.
type: string
default: ""

resource_class: << parameters.resource_class >>

Expand All @@ -53,6 +57,7 @@ executor:
environment:
AWS_REGION: << parameters.aws_region >>
PRE_SETUP_SCRIPT: << parameters.pre_setup_script >>
GO_TEST_TIMEOUT: << parameters.go_test_timeout >>
steps:
- when:
condition:
Expand Down

0 comments on commit 84a8158

Please sign in to comment.