File tree Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -389,6 +389,8 @@ functions:
389389 export MONGO_ATLAS_TESTS=1
390390 export MONGO_ATLAS_FREE_TIER_REPL_URI='${MONGO_ATLAS_FREE_TIER_REPL_URI}'
391391 export MONGO_ATLAS_FREE_TIER_REPL_URI_SRV='${MONGO_ATLAS_FREE_TIER_REPL_URI_SRV}'
392+ export MONGO_ATLAS_SERVERLESS_URI='${MONGO_ATLAS_SERVERLESS_URI}'
393+ export MONGO_ATLAS_SERVERLESS_URI_SRV='${MONGO_ATLAS_SERVERLESS_URI_SRV}'
392394 ASYNC_RUNTIME=${ASYNC_RUNTIME} .evergreen/run-atlas-tests.sh
393395
394396 " run ocsp test " :
Original file line number Diff line number Diff line change @@ -49,3 +49,19 @@ async fn atlas_repl_set_srv() {
4949 )
5050 . await ;
5151}
52+
53+ #[ cfg_attr( feature = "tokio-runtime" , tokio:: test) ]
54+ #[ cfg_attr( feature = "async-std-runtime" , async_std:: test) ]
55+ async fn atlas_serverless ( ) {
56+ run_test ( "MONGO_ATLAS_SERVERLESS_URI" , None ) . await ;
57+ }
58+
59+ #[ cfg_attr( feature = "tokio-runtime" , tokio:: test) ]
60+ #[ cfg_attr( feature = "async-std-runtime" , async_std:: test) ]
61+ async fn atlas_serverless_srv ( ) {
62+ run_test (
63+ "MONGO_ATLAS_SERVERLESS_URI_SRV" ,
64+ Some ( ResolverConfig :: cloudflare ( ) ) ,
65+ )
66+ . await ;
67+ }
You can’t perform that action at this time.
0 commit comments