File tree Expand file tree Collapse file tree 1 file changed +23
-0
lines changed
aws/sdk/integration-tests/s3/tests Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change @@ -62,6 +62,29 @@ async fn dual_stack() {
62
62
) ;
63
63
}
64
64
65
+ #[ cfg( aws_sdk_orchestrator_mode) ]
66
+ #[ tokio:: test]
67
+ async fn multi_region_access_points ( ) {
68
+ let ( _captured_request, client) = test_client ( |b| b) ;
69
+ let response = client
70
+ . get_object ( )
71
+ . bucket ( "arn:aws:s3::123456789012:accesspoint/mfzwi23gnjvgw.mrap" )
72
+ . key ( "blah" )
73
+ . send ( )
74
+ . await ;
75
+ let error = response. expect_err ( "should fail—sigv4a is not supported" ) ;
76
+ assert ! (
77
+ dbg!( format!(
78
+ "{}" ,
79
+ aws_smithy_types:: error:: display:: DisplayErrorContext ( & error)
80
+ ) )
81
+ . contains( "selected auth scheme / endpoint config mismatch" ) ,
82
+ "message should contain the correct error, found: {:?}" ,
83
+ error
84
+ ) ;
85
+ }
86
+
87
+ #[ cfg( not( aws_sdk_orchestrator_mode) ) ]
65
88
#[ tokio:: test]
66
89
async fn multi_region_access_points ( ) {
67
90
let ( _captured_request, client) = test_client ( |b| b) ;
You can’t perform that action at this time.
0 commit comments