From 2a7a87e67e31f62e6af4567f0361f878f5b723e0 Mon Sep 17 00:00:00 2001 From: hc-github-team-consul-core Date: Thu, 9 Nov 2023 13:37:17 -0600 Subject: [PATCH] Backport of increasing unit tests timeout from 10m to 30m into release/1.16.x (#19425) backport of commit 26cb1f6acfab3c3e35d06ae27683a2ac3399aa1f Co-authored-by: Michael Zalimeni --- .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 6c13670e7..4af18c726 100644 --- a/.github/workflows/reusable-unit-split.yml +++ b/.github/workflows/reusable-unit-split.yml @@ -130,7 +130,8 @@ jobs: --junitfile ${{env.TEST_RESULTS}}/gotestsum-report.xml -- \ -tags="${{env.GOTAGS}}" -p 2 \ ${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 diff --git a/.github/workflows/reusable-unit.yml b/.github/workflows/reusable-unit.yml index c49a6291f..71f2fc6e2 100644 --- a/.github/workflows/reusable-unit.yml +++ b/.github/workflows/reusable-unit.yml @@ -108,7 +108,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