Skip to content

Commit

Permalink
Fix missing workload executor expansions in test runner function. (#223)
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewdale authored Nov 5, 2024
1 parent 43f018f commit 588bc72
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .evergreen/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ functions:
ATLAS_ADMIN_API_USERNAME: ${atlas_admin_api_username}
ATLAS_ADMIN_API_PASSWORD: ${atlas_admin_api_password}
CLUSTER_NAME_SALT: ${build_id}
include_expansions_in_env: [DRIVER_DIRNAME]
include_expansions_in_env: [DRIVER_DIRNAME, PYTHON_BIN_DIR, ASYNC, FRAMEWORK, JAVA_HOME]
script: |
source secrets-export.sh
astrolabevenv/${PYTHON_BIN_DIR}/astrolabe atlas-tests \
Expand Down
2 changes: 2 additions & 0 deletions integrations/python/pymongo/install-driver.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#!/usr/bin/env bash
set -o xtrace

PYMONGO_VIRTUALENV_NAME=${PYMONGO_VIRTUALENV_NAME:-pymongotestvenv}

"$PYTHON_BINARY" --version
"$PYTHON_BINARY" -m virtualenv "$PYMONGO_VIRTUALENV_NAME"
"$PYMONGO_VIRTUALENV_NAME/$PYTHON_BIN_DIR/pip" install -e mongo-python-driver
2 changes: 2 additions & 0 deletions integrations/python/pymongo/workload-executor
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@

set -o errexit

PYMONGO_VIRTUALENV_NAME=${PYMONGO_VIRTUALENV_NAME:-pymongotestvenv}

"$PYMONGO_VIRTUALENV_NAME/$PYTHON_BIN_DIR/python" "integrations/$DRIVER_DIRNAME/workload-executor.py" "$1" "$2"

0 comments on commit 588bc72

Please sign in to comment.