From 9c28951e4ee9d2e8b559f5bd50e24e31e744965a Mon Sep 17 00:00:00 2001 From: Nick Cabatoff Date: Wed, 4 Oct 2023 10:35:21 -0400 Subject: [PATCH] Set VAULT_TEST_LOG_DIR, so that users of NewTestLogger will have their logs written there instead of stdout. (#23494) --- .github/workflows/test-go.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/test-go.yml b/.github/workflows/test-go.yml index 34f6cccc32..6d54ebc74a 100644 --- a/.github/workflows/test-go.yml +++ b/.github/workflows/test-go.yml @@ -350,6 +350,9 @@ jobs: fi fi + export VAULT_TEST_LOG_DIR=test-results/go-test/logs + mkdir -p $VAULT_TEST_LOG_DIR + # shellcheck disable=SC2086 # can't quote RERUN_FAILS GOARCH=${{ inputs.go-arch }} \ gotestsum --format=short-verbose \