Skip to content

Commit 3d54282

Browse files
authored
Fix s3 tests for ACL changes (#2848)
1 parent 521f30a commit 3d54282

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

gems/aws-sdk-s3/features/client/step_definitions.rb

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,13 @@ def create_bucket(options = {})
3434
location_constraint: @client.config.region
3535
}
3636
end
37+
38+
options[:object_ownership] ||= 'ObjectWriter'
39+
end
40+
3741
@client.create_bucket(options)
3842
@client.wait_until(:bucket_exists, bucket: @bucket_name)
43+
@client.delete_public_access_block(bucket: @bucket_name)
3944
@created_buckets << @bucket_name
4045
end
4146

0 commit comments

Comments
 (0)