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

added test for object modified #247

Merged
merged 4 commits into from
Jan 13, 2023
Merged

added test for object modified #247

merged 4 commits into from
Jan 13, 2023

Conversation

TingDaoK
Copy link
Contributor

@TingDaoK TingDaoK commented Jan 12, 2023

  • Add support for GetObject for mock server
  • Add test for object modified error handling.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@codecov-commenter
Copy link

codecov-commenter commented Jan 12, 2023

Codecov Report

Merging #247 (bc6298b) into main (71de410) will increase coverage by 0.06%.
The diff coverage is 100.00%.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #247      +/-   ##
==========================================
+ Coverage   85.18%   85.25%   +0.06%     
==========================================
  Files          17       17              
  Lines        4307     4307              
==========================================
+ Hits         3669     3672       +3     
+ Misses        638      635       -3     
Impacted Files Coverage Δ
source/s3_meta_request.c 92.53% <100.00%> (-0.02%) ⬇️
source/s3_auto_ranged_put.c 86.11% <0.00%> (+0.20%) ⬆️
source/s3_auto_ranged_get.c 93.01% <0.00%> (+0.76%) ⬆️

Comment on lines 161 to 162
/* Check the README part for getobject mismatch */
struct aws_byte_cursor object_path = aws_byte_cursor_from_c_str("/get_object_modified");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what README part are you talking about?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The mock server README. Updated the README and the comment

@TingDaoK TingDaoK merged commit d4b3ca3 into main Jan 13, 2023
@TingDaoK TingDaoK deleted the more-tests branch January 13, 2023 17:27
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.

3 participants