33 * SPDX-License-Identifier: Apache-2.0
44 */
55
6- use aws_sdk_s3:: config:: Region ;
6+ use aws_sdk_s3:: config:: { retry :: RetryConfig , Region ;
77use aws_sdk_s3:: { Client , Config } ;
88use aws_smithy_http_client:: test_util:: capture_request;
99use aws_smithy_http_client:: test_util:: dvr:: ReplayingClient ;
@@ -25,6 +25,7 @@ async fn list_objects() {
2525 let config = Config :: from ( & config)
2626 . to_builder ( )
2727 . with_test_defaults ( )
28+ . retry_config ( RetryConfig :: disabled ( ) )
2829 . build ( ) ;
2930 let client = aws_sdk_s3:: Client :: from_conf ( config) ;
3031
@@ -57,6 +58,7 @@ async fn list_objects_v2() {
5758 let config = Config :: from ( & config)
5859 . to_builder ( )
5960 . with_test_defaults ( )
61+ . retry_config ( RetryConfig :: disabled ( ) )
6062 . build ( ) ;
6163 let client = Client :: from_conf ( config) ;
6264
@@ -88,6 +90,7 @@ async fn head_object() {
8890 let config = Config :: from ( & config)
8991 . to_builder ( )
9092 . with_test_defaults ( )
93+ . retry_config ( RetryConfig :: disabled ( ) )
9194 . build ( ) ;
9295 let client = Client :: from_conf ( config) ;
9396
@@ -119,6 +122,7 @@ async fn get_object() {
119122 let config = Config :: from ( & config)
120123 . to_builder ( )
121124 . with_test_defaults ( )
125+ . retry_config ( RetryConfig :: disabled ( ) )
122126 . build ( ) ;
123127 let client = Client :: from_conf ( config) ;
124128
@@ -170,6 +174,7 @@ async fn auth_scheme_preference_specifying_legacy_no_auth_scheme_id_should_be_su
170174 . http_client ( http_client)
171175 . region ( Region :: new ( "us-east-2" ) )
172176 . with_test_defaults ( )
177+ . retry_config ( RetryConfig :: disabled ( ) )
173178 . auth_scheme_preference ( [ AuthSchemeId :: from ( "no_auth" ) ] )
174179 . build ( ) ;
175180 let client = Client :: from_conf ( conf) ;
0 commit comments