Skip to content

Commit ebbc0e6

Browse files
authored
Integration testing: unset irrelevant env variables (#2902)
1 parent 96b5cb7 commit ebbc0e6

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tests/integration/regenerate.sh

+6
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ set -eo pipefail
55
## CONSTANTS AND ENVIRONMENTAL VARIABLES ##
66
##############################################################
77

8+
# unset environmental variables that might disturb testing
9+
unset OPENAI_API_KEY
10+
unset SANDBOX_ENV_OPENAI_API_KEY
11+
unset OPENAI_BASE_URL
12+
unset OPENAI_MODEL
13+
814
TMP_FILE="${TMP_FILE:-tmp.log}"
915

1016
if [ -z $WORKSPACE_MOUNT_PATH ]; then

0 commit comments

Comments
 (0)