Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Some tests are fixed and fixed tests re placed in the separate file:
test_multipart_upload_small (ERROR) -- because the test calls CompleteMultipartUpload twice: the first time it receives 200, the second -- NoSuchUpload, because the gateway completes CompleteMultipartUpload and then sends success, but AWS sends 200 and then starts completing of CompleteMultipart => when the test calls CompleteMultipart the second time AWS sends 200 again
test_multipart_upload (ERROR), test_multipart_upload_resend_part (FAIL) -- removed extra CompleteMultipartUpload and fixed check of the whole metadata. The gateway fails because our objects keep some additional info (i.e. 'S3-Versions-del' and 'S3-Upload-Id') and when the test receives this data, it compares with metadata {'foo':'bar'} and raises an error
test_multipart_resend_first_finishes_last (ERROR) - the- test sends CompleteMultipartUploads with multiple parts with the same PartNumber. I'm not sure we need to fix it. Also AWS fails this test too.
Also tests try to delete bucket containing object (but it doesn't affect at the tests result if we start them all).