Set VAULT_TEST_LOG_DIR, so that users of NewTestLogger will have their logs written there instead of stdout. (#23494)

This commit is contained in:
Nick Cabatoff
2023-10-04 10:35:21 -04:00
committed by GitHub
parent 9019203e9f
commit 9c28951e4e

View File

@@ -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 \