From c19590f5e22c3e95e0aa955d45734dc820f78ce4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20Trevisan=20=28Trevi=C3=B1o=29?= Date: Thu, 27 Feb 2025 20:53:21 +0000 Subject: [PATCH] ci: Set the tests sleeps multiplier as env variable While we're trying to do this smartly checking the build information for the binaries we're testing, this doesn't work particularly well in some test binaries (debug.BuildInfo Settings are inconsistently exposed). So, let's just be consitent in CI, ensuring that wait times are multiplied as expected. --- .github/workflows/qa.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/qa.yaml b/.github/workflows/qa.yaml index 271066f44..1a2b5b4db 100644 --- a/.github/workflows/qa.yaml +++ b/.github/workflows/qa.yaml @@ -246,6 +246,7 @@ jobs: if: matrix.test == 'race' env: GO_TESTS_TIMEOUT: 35m + AUTHD_TESTS_SLEEP_MULTIPLIER: 3 run: | go test -json -timeout ${GO_TESTS_TIMEOUT} -race ./... | \ gotestfmt --logfile "${AUTHD_TEST_ARTIFACTS_PATH}/gotestfmt.race.log" @@ -258,6 +259,7 @@ jobs: CGO_CFLAGS: "-O0 -g3 -fno-omit-frame-pointer" G_DEBUG: "fatal-criticals" GO_TESTS_TIMEOUT: 30m + AUTHD_TESTS_SLEEP_MULTIPLIER: 1.5 # Use these flags to give ASAN a better time to unwind the stack trace GO_GC_FLAGS: -N -l run: |