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:
326326 params :
327327 script : |
328328 ${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
330330 # run-orchestration generates expansion file with the MONGODB_URI for the cluster
331331 - command : expansions.update
332332 params :
@@ -543,6 +543,7 @@ tasks:
543543 vars :
544544 TOPOLOGY : " sharded_clusters"
545545 CONFIG : " cluster"
546+ APPEND_URI : " /?retryWrites=false"
546547 - func : " run tests"
547548
548549 - name : " test-sharded-rs"
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ cat "$ORCHESTRATION_FILE"
5151curl --silent --show-error --data @" $ORCHESTRATION_FILE " " $ORCHESTRATION_URL " --max-time 600 --fail -o tmp.json
5252cat tmp.json
5353URI=$( 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
5555echo " Cluster URI: $URI "
5656
5757MO_END=$( date +%s)
You can’t perform that action at this time.
0 commit comments