Skip to content

Commit

Permalink
fix integ tests
Browse files Browse the repository at this point in the history
  • Loading branch information
blink1073 committed Jan 29, 2025
1 parent f409adb commit c3c6a02
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .evergreen/run-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,15 @@ dos2unix -q .venv/Scripts/activate
. .venv/Scripts/activate
pip install "./mongo-python-driver[test]"
pip install -e ./src
pip install uv

export CLIENT_PEM="$DRIVERS_TOOLS/.evergreen/x509gen/client.pem"
export CA_PEM="$DRIVERS_TOOLS/.evergreen/x509gen/ca.pem"
export GSSAPI_PASS=${SASL_PASS}
export GSSAPI_CANONICALIZE="true"
export GSSAPI_HOST=${SASL_HOST}
export GSSAPI_PORT=${SASL_PORT}
export GSSAPI_PRINCIPAL=${PRINCIPAL}
pushd ./mongo-python-driver
TEST_ENTERPRISE_AUTH=1 bash ./.evergreen/run-tests.sh
pytest -m auth
popd
popd

0 comments on commit c3c6a02

Please sign in to comment.