From ada856ab10b6d8c0da8cdd095dab1787becfd5c3 Mon Sep 17 00:00:00 2001 From: hc-github-team-consul-core Date: Thu, 9 Nov 2023 13:02:57 -0600 Subject: [PATCH] Backport of increasing unit tests timeout from 10m to 30m into release/1.17.x (#19426) backport of commit 26cb1f6acfab3c3e35d06ae27683a2ac3399aa1f Co-authored-by: John Murret --- .github/workflows/reusable-unit-split.yml | 3 ++- .github/workflows/reusable-unit.yml | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/reusable-unit-split.yml b/.github/workflows/reusable-unit-split.yml index 29c341998d..3d959d168b 100644 --- a/.github/workflows/reusable-unit-split.yml +++ b/.github/workflows/reusable-unit-split.yml @@ -130,7 +130,8 @@ jobs: --packages="$PACKAGE_NAMES" \ --junitfile ${{env.TEST_RESULTS}}/gotestsum-report.xml -- \ -tags="${{env.GOTAGS}}" \ - -cover -coverprofile=coverage.txt + -cover -coverprofile=coverage.txt \ + -timeout=30m # NOTE: ENT specific step as we store secrets in Vault. - name: Authenticate to Vault diff --git a/.github/workflows/reusable-unit.yml b/.github/workflows/reusable-unit.yml index 4294395447..3b50bfa7e3 100644 --- a/.github/workflows/reusable-unit.yml +++ b/.github/workflows/reusable-unit.yml @@ -109,7 +109,8 @@ jobs: --junitfile ${{env.TEST_RESULTS}}/gotestsum-report.xml -- \ -tags="${{env.GOTAGS}}" \ ${GO_TEST_FLAGS-} \ - -cover -coverprofile=coverage.txt + -cover -coverprofile=coverage.txt \ + -timeout=30m # NOTE: ENT specific step as we store secrets in Vault. - name: Authenticate to Vault