minio / mint

Collection of tests to detect overall correctness of MinIO server.
Apache License 2.0
78 stars 50 forks source link

aws-sdk-ruby tests fail for server/gateway #217

Closed nitisht closed 6 years ago

nitisht commented 6 years ago

Mint test on latest rc failed. Reproducible with both Server and Gateway modes

Mint logs:

(2/8) Running aws-sdk-ruby tests ... FAILED in 3 seconds
{
  "name": "aws-sdk-ruby",
  "function": "presignedPost(bucket_name,file_name,expires_in_sec,max_byte_size)",
  "args": {
    "bucket_name": "aws-sdk-ruby-bucket-252b0d0dcdff",
    "file_name": "datafile-1-MB",
    "expires_in_sec": 60,
    "max_byte_size": 3145728
  },
  "duration": 29.87,
  "error": "Connection reset by peer",
  "status": "FAIL"
}
nitisht commented 6 years ago

Similar behaviour as mentioned in https://github.com/minio/mint/issues/220#issuecomment-344529266 here as well.

With trailing "/" , the tests pass, otherwise server responds with ErrMethodNotAllowed for presignedPost URL

nitisht commented 6 years ago

Tested, fixed by https://github.com/minio/minio/pull/5192