File tree 4 files changed +15
-12
lines changed
4 files changed +15
-12
lines changed Original file line number Diff line number Diff line change @@ -191,10 +191,12 @@ functions:
191
191
export SERVERLESS_ATLAS_PASSWORD="${SERVERLESS_ATLAS_PASSWORD}"
192
192
export SERVERLESS_URI="${SERVERLESS_URI}"
193
193
194
+ echo "setting SERVERLESS_URI: $SERVERLESS_URI"
195
+
194
196
export MONGODB_URI="${SERVERLESS_URI}"
195
197
export SINGLE_MONGOS_LB_URI="${SERVERLESS_URI}"
196
198
197
- # Setting MULTI_MONGOS to the SINGLE_ATLAS is intentional
199
+ # Setting MULTI_MONGOS to the SERVERLESS_URI is intentional
198
200
# LB tests pick one host out of the comma separated list
199
201
# so just passing the one host is equivalent
200
202
export MULTI_MONGOS_LB_URI="${SERVERLESS_URI}"
Original file line number Diff line number Diff line change @@ -170,10 +170,12 @@ functions:
170
170
export SERVERLESS_ATLAS_PASSWORD="${SERVERLESS_ATLAS_PASSWORD}"
171
171
export SERVERLESS_URI="${SERVERLESS_URI}"
172
172
173
+ echo "setting SERVERLESS_URI: $SERVERLESS_URI"
174
+
173
175
export MONGODB_URI="${SERVERLESS_URI}"
174
176
export SINGLE_MONGOS_LB_URI="${SERVERLESS_URI}"
175
177
176
- # Setting MULTI_MONGOS to the SINGLE_ATLAS is intentional
178
+ # Setting MULTI_MONGOS to the SERVERLESS_URI is intentional
177
179
# LB tests pick one host out of the comma separated list
178
180
# so just passing the one host is equivalent
179
181
export MULTI_MONGOS_LB_URI="${SERVERLESS_URI}"
Original file line number Diff line number Diff line change 3
3
source " ${PROJECT_DIRECTORY} /.evergreen/install-dependencies.sh"
4
4
5
5
if [ -z ${SERVERLESS+omitted} ]; then echo " SERVERLESS is unset" && exit 1; fi
6
- if [ -z ${SERVERLESS_URI+omitted} ]; then echo " MULTI_ATLASPROXY_SERVERLESS_URI is unset" && exit 1; fi
6
+ if [ -z ${SERVERLESS_URI+omitted} ]; then echo " SERVERLESS_URI is unset" && exit 1; fi
7
7
if [ -z ${SINGLE_MONGOS_LB_URI+omitted} ]; then echo " SINGLE_MONGOS_LB_URI is unset" && exit 1; fi
8
8
if [ -z ${MULTI_MONGOS_LB_URI+omitted} ]; then echo " MULTI_MONGOS_LB_URI is unset" && exit 1; fi
9
9
if [ -z ${MONGODB_URI+omitted} ]; then echo " MONGODB_URI is unset" && exit 1; fi
@@ -15,10 +15,10 @@ npx mocha \
15
15
test/integration/crud/crud.spec.test.js \
16
16
test/integration/crud/crud.prose.test.js \
17
17
test/integration/retryable-reads/retryable_reads.spec.test.js \
18
- test/integration/retryable-writes/retryable_writes.spec.test.js \
19
- test/integration/sessions/sessions.spec.test.js \
20
- test/integration/sessions/sessions.test.js \
18
+ test/integration/retryable-writes/retryable_writes.spec.test.ts \
19
+ test/integration/sessions/sessions.spec.test.ts \
20
+ test/integration/sessions/sessions.test.ts \
21
21
test/integration/transactions/transactions.spec.test.js \
22
- test/integration/transactions/transactions.test.js \
22
+ test/integration/transactions/transactions.test.ts \
23
23
test/integration/versioned-api/versioned_api.spec.test.js \
24
24
test/integration/load-balancers/load_balancers.spec.test.js
Original file line number Diff line number Diff line change @@ -231,8 +231,7 @@ The following steps will walk you through how to create and test a MongoDB Serve
231
231
AUTH : xxx
232
232
TOPOLOGY : xxx
233
233
SERVERLESS : xxx
234
- MULTI_ATLASPROXY_SERVERLESS_URI : xxx
235
- SINGLE_ATLASPROXY_SERVERLESS_URI : xxx
234
+ SERVERLESS_URI : xxx
236
235
` ` `
237
236
238
237
1. Generate a sourceable environment file from ` serverless-expansion.yml` by running the following command:
@@ -245,9 +244,9 @@ The following steps will walk you through how to create and test a MongoDB Serve
245
244
246
245
1. Update the following variables in `serverless.env`, so that they are equivalent to what our Evergreen builds do :
247
246
248
- - Change `MONGODB_URI` to have the same value as `SINGLE_ATLASPROXY_SERVERLESS_URI `.
249
- - Add `SINGLE_MONGOS_LB_URI` and set it to the value of `SINGLE_ATLASPROXY_SERVERLESS_URI `.
250
- - Add `MULTI_MONGOS_LB_URI` and set it to the value of `SINGLE_ATLASPROXY_SERVERLESS_URI `.
247
+ - Change `MONGODB_URI` to have the same value as `SERVERLESS_URI `.
248
+ - Add `SINGLE_MONGOS_LB_URI` and set it to the value of `SERVERLESS_URI `.
249
+ - Add `MULTI_MONGOS_LB_URI` and set it to the value of `SERVERLESS_URI `.
251
250
252
251
1. Source the environment variables using a command like `source serverless.env`.
253
252
You can’t perform that action at this time.
0 commit comments