Fix test_bucket_put_bad_canned_acl ceph test #531

Open
opened 2024-11-01 12:45:05 +00:00 by dkirillov · 1 comment
Member

It would be nice the following tests pass:

it expect 400 code if bucket canned acl is invalid. We return 500 now.

Describe the solution you'd like

Return 400 code

Describe alternatives you've considered

No

Additional context

No

## Is your feature request related to a problem? Please describe. It would be nice the following tests pass: * [test_bucket_put_bad_canned_acl](https://git.frostfs.info/TrueCloudLab/s3-tests/src/commit/d245097771698774d36a0283e9ef69bf67f3ba76/s3tests_boto3/functional/test_headers.py#L310) it expect 400 code if bucket canned acl is invalid. We return 500 now. ## Describe the solution you'd like Return 400 code ## Describe alternatives you've considered No ## Additional context No
Owner

I would like to see this change. It would be nice to provide a reason why s3 gateway throws 500. Seems like simple acl format checker solves an issue.

I would like to see this change. It would be nice to provide a reason why s3 gateway throws 500. Seems like simple acl format checker solves an issue.
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: TrueCloudLab/frostfs-s3-gw#531
No description provided.