@@ -41,13 +41,13 @@ async fn run_test(uri_env_var: &str, resolver_config: Option<ResolverConfig>) {
4141
4242#[ cfg_attr( feature = "tokio-runtime" , tokio:: test) ]
4343#[ cfg_attr( feature = "async-std-runtime" , async_std:: test) ]
44- async fn atlas_repl_set ( ) {
44+ async fn atlas_free_tier_repl_set ( ) {
4545 run_test ( "MONGO_ATLAS_FREE_TIER_REPL_URI" , None ) . await ;
4646}
4747
4848#[ cfg_attr( feature = "tokio-runtime" , tokio:: test) ]
4949#[ cfg_attr( feature = "async-std-runtime" , async_std:: test) ]
50- async fn atlas_repl_set_srv ( ) {
50+ async fn atlas_free_tier_repl_set_srv ( ) {
5151 run_test ( "MONGO_ATLAS_FREE_TIER_REPL_URI_SRV" , None ) . await ;
5252 run_test (
5353 "MONGO_ATLAS_FREE_TIER_REPL_URI_SRV" ,
@@ -65,9 +65,78 @@ async fn atlas_serverless() {
6565#[ cfg_attr( feature = "tokio-runtime" , tokio:: test) ]
6666#[ cfg_attr( feature = "async-std-runtime" , async_std:: test) ]
6767async fn atlas_serverless_srv ( ) {
68+ run_test ( "MONGO_ATLAS_SERVERLESS_URI_SRV" , None ) . await ;
6869 run_test (
6970 "MONGO_ATLAS_SERVERLESS_URI_SRV" ,
7071 Some ( ResolverConfig :: cloudflare ( ) ) ,
7172 )
7273 . await ;
7374}
75+
76+ #[ cfg_attr( feature = "tokio-runtime" , tokio:: test) ]
77+ #[ cfg_attr( feature = "async-std-runtime" , async_std:: test) ]
78+ async fn atlas_repl_set ( ) {
79+ run_test ( "MONGO_ATLAS_REPL_URI" , None ) . await ;
80+ }
81+
82+ #[ cfg_attr( feature = "tokio-runtime" , tokio:: test) ]
83+ #[ cfg_attr( feature = "async-std-runtime" , async_std:: test) ]
84+ async fn atlas_repl_set_srv ( ) {
85+ run_test ( "MONGO_ATLAS_REPL_URI_SRV" , None ) . await ;
86+ run_test (
87+ "MONGO_ATLAS_REPL_URI_SRV" ,
88+ Some ( ResolverConfig :: cloudflare ( ) ) ,
89+ )
90+ . await ;
91+ }
92+
93+ #[ cfg_attr( feature = "tokio-runtime" , tokio:: test) ]
94+ #[ cfg_attr( feature = "async-std-runtime" , async_std:: test) ]
95+ async fn atlas_sharded ( ) {
96+ run_test ( "MONGO_ATLAS_SHARDED_URI" , None ) . await ;
97+ }
98+
99+ #[ cfg_attr( feature = "tokio-runtime" , tokio:: test) ]
100+ #[ cfg_attr( feature = "async-std-runtime" , async_std:: test) ]
101+ async fn atlas_sharded_srv ( ) {
102+ run_test ( "MONGO_ATLAS_SHARDED_URI_SRV" , None ) . await ;
103+ run_test (
104+ "MONGO_ATLAS_SHARDED_URI_SRV" ,
105+ Some ( ResolverConfig :: cloudflare ( ) ) ,
106+ )
107+ . await ;
108+ }
109+
110+ #[ cfg_attr( feature = "tokio-runtime" , tokio:: test) ]
111+ #[ cfg_attr( feature = "async-std-runtime" , async_std:: test) ]
112+ async fn atlas_tls_11 ( ) {
113+ run_test ( "MONGO_ATLAS_TLS11_URI" , None ) . await ;
114+ }
115+
116+ #[ cfg_attr( feature = "tokio-runtime" , tokio:: test) ]
117+ #[ cfg_attr( feature = "async-std-runtime" , async_std:: test) ]
118+ async fn atlas_tls11_srv ( ) {
119+ run_test ( "MONGO_ATLAS_TLS11_URI_SRV" , None ) . await ;
120+ run_test (
121+ "MONGO_ATLAS_TLS11_URI_SRV" ,
122+ Some ( ResolverConfig :: cloudflare ( ) ) ,
123+ )
124+ . await ;
125+ }
126+
127+ #[ cfg_attr( feature = "tokio-runtime" , tokio:: test) ]
128+ #[ cfg_attr( feature = "async-std-runtime" , async_std:: test) ]
129+ async fn atlas_tls_12 ( ) {
130+ run_test ( "MONGO_ATLAS_TLS12_URI" , None ) . await ;
131+ }
132+
133+ #[ cfg_attr( feature = "tokio-runtime" , tokio:: test) ]
134+ #[ cfg_attr( feature = "async-std-runtime" , async_std:: test) ]
135+ async fn atlas_tls12_srv ( ) {
136+ run_test ( "MONGO_ATLAS_TLS12_URI_SRV" , None ) . await ;
137+ run_test (
138+ "MONGO_ATLAS_TLS12_URI_SRV" ,
139+ Some ( ResolverConfig :: cloudflare ( ) ) ,
140+ )
141+ . await ;
142+ }
0 commit comments