Azure / azure-storage-python

Microsoft Azure Storage Library for Python
https://azure-storage.readthedocs.io
MIT License
338 stars 240 forks source link

[Blob]Throw Exception When User_Specified_Blob_Size > Actual_Data_Size #584

Closed xiafu-msft closed 5 years ago

xiafu-msft commented 5 years ago

When users specify a blob size which is larger than the actual data size they are able to upload, throw exception to tell the users to specify a valid blob size they want to upload.

codecov-io commented 5 years ago

Codecov Report

Merging #584 into dev will decrease coverage by 0.03%. The diff coverage is 54.54%.

Impacted file tree graph

@@            Coverage Diff             @@
##              dev     #584      +/-   ##
==========================================
- Coverage   86.86%   86.82%   -0.04%     
==========================================
  Files          52       52              
  Lines        4825     4829       +4     
  Branches      521      525       +4     
==========================================
+ Hits         4191     4193       +2     
- Misses        467      468       +1     
- Partials      167      168       +1
Impacted Files Coverage Δ
...torage-blob/azure/storage/blob/_upload_chunking.py 72.01% <54.54%> (-0.34%) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 588c11a...4c7640c. Read the comment docs.