File tree Expand file tree Collapse file tree 3 files changed +10
-0
lines changed
build/evergreen_config_lib Expand file tree Collapse file tree 3 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -479,6 +479,8 @@ functions:
479
479
export REQUIRE_TLS12='${require_tls12}'
480
480
export OBSOLETE_TLS='${obsolete_tls}'
481
481
export VALGRIND='${valgrind}'
482
+ export ATLAS_SERVERLESS_SRV='${atlas_serverless_srv}'
483
+ export ATLAS_SERVERLESS='${atlas_serverless}'
482
484
sh .evergreen/run-auth-tests.sh
483
485
run mock server tests:
484
486
- command: shell.exec
Original file line number Diff line number Diff line change @@ -22,6 +22,8 @@ set +o xtrace # Don't echo commands
22
22
# REQUIRE_TLS12=${require_tls12} # libmongoc requires TLS 1.2+
23
23
# OBSOLETE_TLS=${obsolete_tls} # libmongoc was built with old TLS lib, don't try connecting to Atlas
24
24
# VALGRIND=${valgrind} # Whether to run with valgrind
25
+ # ATLAS_SERVERLESS_SRV=${atlas_serverless_srv} # Evergreen variable
26
+ # ATLAS_SERVERLESS=${atlas_serverless} # Evergreen variable
25
27
26
28
27
29
C_TIMEOUT=" connectTimeoutMS=30000&serverSelectionTryOnce=false"
@@ -112,6 +114,10 @@ if [ $SSL -eq 1 ]; then
112
114
$PING " $ATLAS_TLS12 &${C_TIMEOUT} "
113
115
echo " Connecting to Atlas with only TLS 1.2 enabled with SRV"
114
116
$PING " $ATLAS_TLS12_SRV ${C_TIMEOUT} "
117
+ echo " Connecting to Atlas Serverless with SRV"
118
+ $PING " $ATLAS_SERVERLESS_SRV /?${C_TIMEOUT} "
119
+ echo " Connecting to Atlas Serverless"
120
+ $PING " $ATLAS_SERVERLESS &${C_TIMEOUT} "
115
121
fi
116
122
fi
117
123
Original file line number Diff line number Diff line change 340
340
export REQUIRE_TLS12='${require_tls12}'
341
341
export OBSOLETE_TLS='${obsolete_tls}'
342
342
export VALGRIND='${valgrind}'
343
+ export ATLAS_SERVERLESS_SRV='${atlas_serverless_srv}'
344
+ export ATLAS_SERVERLESS='${atlas_serverless}
343
345
sh .evergreen/run-auth-tests.sh
344
346
''' , silent = True ),
345
347
)),
You can’t perform that action at this time.
0 commit comments