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

testing expected size changes in cmd upload of awscli #596

Merged
merged 7 commits into from
Jul 21, 2023

Conversation

RachanKaur
Copy link
Contributor

@RachanKaur RachanKaur commented Jul 11, 2023

Fixes #553
This PR adds --expected-size to cmd command for Aws Cli for uploading a file.

@RachanKaur RachanKaur marked this pull request as draft July 11, 2023 15:58
@RachanKaur RachanKaur force-pushed the rachan553-expected-size branch 2 times, most recently from 433508a to b3cb56b Compare July 11, 2023 16:09
@RachanKaur RachanKaur self-assigned this Jul 13, 2023
@thelastpickle thelastpickle deleted a comment from codecov bot Jul 18, 2023
@thelastpickle thelastpickle deleted a comment from sonarcloud bot Jul 18, 2023
@codecov
Copy link

codecov bot commented Jul 18, 2023

Codecov Report

Merging #596 (a7fad93) into master (ec425ec) will increase coverage by 0.09%.
The diff coverage is 92.30%.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #596      +/-   ##
==========================================
+ Coverage   80.56%   80.65%   +0.09%     
==========================================
  Files          58       58              
  Lines        4558     4607      +49     
  Branches      678      740      +62     
==========================================
+ Hits         3672     3716      +44     
- Misses        860      864       +4     
- Partials       26       27       +1     
Impacted Files Coverage Δ
medusa/storage/s3_compat_storage/awscli.py 89.32% <92.30%> (-3.32%) ⬇️

... and 8 files with indirect coverage changes

@RachanKaur RachanKaur added the in-progress Issues in the state 'in-progress' label Jul 18, 2023
@RachanKaur RachanKaur marked this pull request as ready for review July 19, 2023 15:33
@RachanKaur RachanKaur marked this pull request as draft July 19, 2023 15:49
@sonarcloud
Copy link

sonarcloud bot commented Jul 20, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 1 Code Smell

No Coverage information No Coverage information
0.0% 0.0% Duplication

@RachanKaur RachanKaur marked this pull request as ready for review July 20, 2023 14:13
@RachanKaur RachanKaur added ready-for-review Issues in the state 'ready-for-review' and removed in-progress Issues in the state 'in-progress' labels Jul 20, 2023
@RachanKaur RachanKaur merged commit 95c967f into master Jul 21, 2023
31 of 33 checks passed
@RachanKaur RachanKaur deleted the rachan553-expected-size branch July 21, 2023 15:55
adejanovski pushed a commit that referenced this pull request Sep 4, 2023
* testing expected size changes in cmd upload of awscli

* unit tests added for awscli cp_upload and get file size functions

* Unit tests added for code changes

* unecessary code removed

* removed 78GB comment

* added config values for expected_size_threshold

* --expected-size flag added for awscli
adejanovski pushed a commit that referenced this pull request Sep 4, 2023
* testing expected size changes in cmd upload of awscli

* unit tests added for awscli cp_upload and get file size functions

* Unit tests added for code changes

* unecessary code removed

* removed 78GB comment

* added config values for expected_size_threshold

* --expected-size flag added for awscli
adejanovski pushed a commit that referenced this pull request Sep 18, 2023
* testing expected size changes in cmd upload of awscli

* unit tests added for awscli cp_upload and get file size functions

* Unit tests added for code changes

* unecessary code removed

* removed 78GB comment

* added config values for expected_size_threshold

* --expected-size flag added for awscli
adejanovski pushed a commit that referenced this pull request Sep 19, 2023
* testing expected size changes in cmd upload of awscli

* unit tests added for awscli cp_upload and get file size functions

* Unit tests added for code changes

* unecessary code removed

* removed 78GB comment

* added config values for expected_size_threshold

* --expected-size flag added for awscli
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-for-review Issues in the state 'ready-for-review'
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add --expected-size to the awscli cp commands
2 participants