mirror of
https://github.com/enso-org/enso.git
synced 2024-12-23 14:52:01 +03:00
Fix S3 spec (#10893)
Fixes the issue with the S3 test on CI: ``` - [FAILED] should fail to write a file if permissions are lacking [1108ms] Reason: The value (S3 Error: User: arn:aws:iam::539646847106:user/enso_ci_s3_tester is not authorized to perform: s3:PutObject on resource: "arn:aws:s3:::enso-data-samples/examples/no-write-permissions-here.txt.bak" because no identity-based policy allows the s3:PutObject action (AccessDenied)) did not contain the element (Access Denied) (at /runner/_work/enso/enso/test/AWS_Tests/src/S3_Spec.enso:488:13-68). ```
This commit is contained in:
parent
e9d3f59a91
commit
4d286e02b6
@ -485,7 +485,7 @@ add_specs suite_builder =
|
||||
new_file = S3_File.new "s3://"+bucket_name+"/examples/no-write-permissions-here.txt" credentials=test_credentials
|
||||
r = "Hello".write new_file
|
||||
r.should_fail_with S3_Error
|
||||
r.catch.to_display_text . should_contain "Access Denied"
|
||||
r.catch.to_display_text . should_contain "AccessDenied"
|
||||
|
||||
group_builder.specify "should fail to open an output stream if Output context is not enabled" <|
|
||||
Context.Output.with_disabled <|
|
||||
|
Loading…
Reference in New Issue
Block a user