Skip to content

Commit 873036b

Browse files
committed
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.
1 parent 1eb95ba commit 873036b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/qa.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,7 @@ jobs:
254254
if: matrix.test == 'race'
255255
env:
256256
GO_TESTS_TIMEOUT: 35m
257+
AUTHD_TESTS_SLEEP_MULTIPLIER: 3
257258
run: |
258259
go test -json -timeout ${GO_TESTS_TIMEOUT} -race ./... | \
259260
gotestfmt --logfile "${AUTHD_TEST_ARTIFACTS_PATH}/gotestfmt.race.log"
@@ -266,6 +267,7 @@ jobs:
266267
CGO_CFLAGS: "-O0 -g3 -fno-omit-frame-pointer"
267268
G_DEBUG: "fatal-criticals"
268269
GO_TESTS_TIMEOUT: 30m
270+
AUTHD_TESTS_SLEEP_MULTIPLIER: 1.5
269271
# Use these flags to give ASAN a better time to unwind the stack trace
270272
GO_GC_FLAGS: -N -l
271273
run: |

0 commit comments

Comments
 (0)