Skip to content

Commit 024148c

Browse files
authored
PYTHON-3541 Use bash instead of sh in perf testing (#1127)
1 parent 6419266 commit 024148c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.evergreen/perf.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ functions:
105105
params:
106106
script: |
107107
${PREPARE_SHELL}
108-
MONGODB_VERSION=${VERSION} TOPOLOGY=${TOPOLOGY} AUTH=${AUTH} SSL=${SSL} STORAGE_ENGINE=${STORAGE_ENGINE} sh ${DRIVERS_TOOLS}/.evergreen/run-orchestration.sh
108+
MONGODB_VERSION=${VERSION} TOPOLOGY=${TOPOLOGY} AUTH=${AUTH} SSL=${SSL} STORAGE_ENGINE=${STORAGE_ENGINE} bash ${DRIVERS_TOOLS}/.evergreen/run-orchestration.sh
109109
# run-orchestration generates expansion file with the MONGODB_URI for the cluster
110110
- command: expansions.update
111111
params:
@@ -116,7 +116,7 @@ functions:
116116
params:
117117
script: |
118118
${PREPARE_SHELL}
119-
sh ${DRIVERS_TOOLS}/.evergreen/stop-orchestration.sh
119+
bash ${DRIVERS_TOOLS}/.evergreen/stop-orchestration.sh
120120
121121
"run perf tests":
122122
- command: shell.exec
@@ -125,7 +125,7 @@ functions:
125125
working_dir: "src"
126126
script: |
127127
${PREPARE_SHELL}
128-
PROJECT_DIRECTORY=${PROJECT_DIRECTORY} sh ${PROJECT_DIRECTORY}/.evergreen/run-perf-tests.sh
128+
PROJECT_DIRECTORY=${PROJECT_DIRECTORY} bash ${PROJECT_DIRECTORY}/.evergreen/run-perf-tests.sh
129129
130130
"attach benchmark test results":
131131
- command: attach.results
@@ -182,7 +182,7 @@ functions:
182182
${PREPARE_SHELL}
183183
file="${PROJECT_DIRECTORY}/.evergreen/install-dependencies.sh"
184184
# Don't use ${file} syntax here because evergreen treats it as an empty expansion.
185-
[ -f "$file" ] && sh $file || echo "$file not available, skipping"
185+
[ -f "$file" ] && bash $file || echo "$file not available, skipping"
186186
187187
pre:
188188
- func: "fetch source"

0 commit comments

Comments
 (0)