Skip to content

Commit 69d53a5

Browse files
committed
Use venv-utils.sh in stop_mongod function
1 parent f1da74e commit 69d53a5

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.mci.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -214,12 +214,10 @@ functions:
214214
set -o errexit
215215
set -o pipefail
216216
cd drivers-evergreen-tools/.evergreen/orchestration
217-
if [ -f venv/bin/activate ]; then
218-
. venv/bin/activate
219-
elif [ -f venv/Scripts/activate ]; then
220-
. venv/Scripts/activate
217+
. ../venv-utils.sh
218+
if venvactivate venv; then
219+
mongo-orchestration stop
221220
fi
222-
mongo-orchestration stop
223221
224222
"install_c_driver":
225223
- command: expansions.update

0 commit comments

Comments
 (0)