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

Fix multipart tests #5

Merged
merged 2 commits into from
Nov 24, 2021
Merged

Fix multipart tests #5

merged 2 commits into from
Nov 24, 2021

Conversation

masterSplinter01
Copy link

@masterSplinter01 masterSplinter01 commented Nov 23, 2021

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).

@alexvanin alexvanin merged commit e6a6382 into master Nov 24, 2021
evgeniiz321 pushed a commit that referenced this pull request Oct 4, 2023
c4d30d7	Ravindra Choudhari	Mon, 27 Jun 2022 removing region name
4a13f58	Ravindra Choudhari	Thu, 16 Jun 2022 Updating readme file (#15)
18bc152	Ravindra Choudhari	Tue, 14 Jun 2022 Adding attr test_of_iam to all user policy tests (#13)
03f520a	Ravindra Choudhari	Tue, 14 Jun 2022 resolving review comments (#12)
7cf2823	Ravindra Choudhari	Mon, 13 Jun 2022 added IAM policy test section in README.rst (#11)
563f3ea	Ravindra Choudhari	Fri, 10 Jun 2022 adding failing three tests back with attr @fails_on_rgw (#10)
696dd2e Ravindra Choudhari 	Mon, 6 Jun 2022 changes as per review comments
3d63dfd Ravindra Choudhari 	Mon, 6 Jun 2022 Fixed review comments (#8)
9492f69 Ravindra Choudhari	Fri, 3 Jun 2022 Fixed review comments (#7)
74095dc Ketan Arlulkar     	Wed, 1 Jun 2022 Fixed review comments (#6)
942fb4f Ketan Arlulkar     	Wed, 1 Jun 2022 Added Tests for conflicting policies and IAM actions (#4)
ad5b5ae Ravindra Choudhari 	Tue, 31 May 2022 IAM policies s3 actions (#5)
6515ec6 Ketan Arlulkar     	Fri, 27 May 2022 Corrected eq import
40a2841 Ravindra Choudhari 	Tue, 17 May 2022 resolving conflicts
f53a5c1 Ravindra Choudhari 	Tue, 17 May 2022 added cleanup
747d563 Ketan Arlulkar     	Tue, 17 May 2022 Added cleanup/Delete Policy
d1cc1d8 Ketan Arlulkar     	Mon, 16 May 2022 Fixed review comments
1ec43a2 Ravindra Choudhari 	Mon, 16 May 2022 delete user policy tests
a01722e Ravindra Choudhari 	Mon, 16 May 2022 get user policy tests
ff9d676 Ketan Arlulkar     	Fri, 13 May 2022 Removed TEST IDs
d261400 Ketan Arlulkar     	Tue, 10 May 2022 Put User Policy & List User Policy Tests

Signed-off-by: Ravindra Choudhari <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants