File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -326,7 +326,7 @@ functions:
326
326
params :
327
327
script : |
328
328
${PREPARE_SHELL}
329
- MONGODB_VERSION=${VERSION} PROJECT_DIRECTORY=${PROJECT_DIRECTORY} DRIVERS_TOOLS=${DRIVERS_TOOLS} CONFIG=${CONFIG} TOPOLOGY=${TOPOLOGY} STORAGE_ENGINE=${STORAGE_ENGINE} sh ${PROJECT_DIRECTORY}/.evergreen/run-orchestration.sh
329
+ MONGODB_VERSION=${VERSION} PROJECT_DIRECTORY=${PROJECT_DIRECTORY} DRIVERS_TOOLS=${DRIVERS_TOOLS} CONFIG=${CONFIG} TOPOLOGY=${TOPOLOGY} APPEND_URI=${APPEND_URI} STORAGE_ENGINE=${STORAGE_ENGINE} sh ${PROJECT_DIRECTORY}/.evergreen/run-orchestration.sh
330
330
# run-orchestration generates expansion file with the MONGODB_URI for the cluster
331
331
- command : expansions.update
332
332
params :
@@ -543,6 +543,7 @@ tasks:
543
543
vars :
544
544
TOPOLOGY : " sharded_clusters"
545
545
CONFIG : " cluster"
546
+ APPEND_URI : " /?retryWrites=false"
546
547
- func : " run tests"
547
548
548
549
- name : " test-sharded-rs"
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ cat "$ORCHESTRATION_FILE"
51
51
curl --silent --show-error --data @" $ORCHESTRATION_FILE " " $ORCHESTRATION_URL " --max-time 600 --fail -o tmp.json
52
52
cat tmp.json
53
53
URI=$( python -c ' import sys, json; j=json.load(open("tmp.json")); print(j["mongodb_auth_uri" if "mongodb_auth_uri" in j else "mongodb_uri"])' | tr -d ' \r' )
54
- echo ' MONGODB_URI: "' $URI ' "' > mo-expansion.yml
54
+ echo ' MONGODB_URI: "' ${ URI}${APPEND_URI} ' "' > mo-expansion.yml
55
55
echo " Cluster URI: $URI "
56
56
57
57
MO_END=$( date +%s)
You can’t perform that action at this time.
0 commit comments