Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gateway: Awscli head-object test fails #231

Closed
kannappanr opened this issue Nov 18, 2017 · 3 comments
Closed

Gateway: Awscli head-object test fails #231

kannappanr opened this issue Nov 18, 2017 · 3 comments
Assignees
Milestone

Comments

@kannappanr
Copy link
Collaborator

Awscli headobject test fails on all gateways.
Here is the failure entry


{"name": "awscli", "duration": 7574, "function": "aws --endpoint-url http://192.168.86.102:9000 s3api head-object --bucket awscli-mint-test-bucket-11375 --key prefix/directory/\n", "status": "FAIL", "error": "An error occurred (404) when calling the HeadObject operation: Not Found"}

This call succeeds on regular server mode.

@harshavardhana
Copy link
Member

harshavardhana commented Nov 18, 2017

Ah this would be expected 😞 since the special behavior is only for minio server mode. We can either fix the gateway to create a prefix like doing a PUT with "/" object and then create an object. This is an overkill on the namespace of the backend and we don't need to do that.

Perhaps we can remove this test or either way a mint mode to test only server functionality??

@nitisht nitisht self-assigned this Nov 19, 2017
@nitisht nitisht added this to the Current milestone Nov 19, 2017
@harshavardhana
Copy link
Member

Actually the test is wrong it should create the directory first and expect the compatible behavior.

@nitisht
Copy link
Contributor

nitisht commented Nov 22, 2017

assigning to @harshavardhana as discussed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants