Skip to content

Commit 54099e4

Browse files
committed
Fix tofu ci env
1 parent f84b7f0 commit 54099e4

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

tofu/tests/setup-and-run-ci-env.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -134,10 +134,8 @@ TF_VAR_auth_token=$(curl -s -X POST -H "$CONTENT_TYPE" -d \
134134
${TF_VAR_coral_uri}/api-token-auth/ | jq -r '.token')
135135
echo "Auth Token: $TF_VAR_auth_token"
136136

137-
python -m venv venv
138-
source venv/bin/active
139137
pip install -r ${SCRIPT_DIR}/../../requirements.txt
140-
138+
pip install -r ${SCRIPT_DIR}/../../test-requirements.txt
141139
pytest ${SCRIPT_DIR}/tofu_tests.py
142140

143141
# Scrape prometheus metrics:

tools/functional_test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ RESPONSE=$(curl -s -w "%{http_code}" -X POST -H "$AUTH_HEADER" -H "$CONTENT_TYPE
230230
}
231231
}
232232
}" \
233-
http://$SITE:$PORT/consumer/create/)
233+
http://$SITE:$PORT/consumer/create)
234234

235235
if [ "$RESPONSE" -eq 204 ]; then
236236
echo "All tests completed."

0 commit comments

Comments
 (0)