open-io / oio-sds

High Performance Software-Defined Object Storage for Big Data and AI, that supports Amazon S3 and Openstack Swift
https://www.openio.io
Other
664 stars 93 forks source link

account: do not try to decode "None" as UTF-8 #2074

Closed AymericDu closed 4 years ago

AymericDu commented 4 years ago
SUMMARY

Do not try to decode "None" as UTF-8. This error was frequent but unfortunately it was ignored by our tests.

ISSUE TYPE
COMPONENT NAME
SDS VERSION
openio 7.0.2.dev13
codecov-commenter commented 4 years ago

Codecov Report

Merging #2074 into 7.x will decrease coverage by 0.03%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##              7.x    #2074      +/-   ##
==========================================
- Coverage   78.45%   78.42%   -0.02%     
==========================================
  Files         378      378              
  Lines       73564    73565       +1     
  Branches     6571     6571              
==========================================
- Hits        57708    57689      -19     
- Misses      15651    15671      +20     
  Partials      205      205              
Impacted Files Coverage Δ
oio/account/backend.py 67.82% <100.00%> (-0.48%) :arrow_down:
tests/functional/content/test_service_id.py 78.83% <0.00%> (-5.88%) :arrow_down:
oio/common/easy_value.py 84.49% <0.00%> (-5.17%) :arrow_down:
metautils/lib/volume_lock.c 70.74% <0.00%> (-4.87%) :arrow_down:
tests/functional/audit/test_audit_storage.py 84.68% <0.00%> (-4.03%) :arrow_down:
oio/common/utils.py 67.38% <0.00%> (-2.43%) :arrow_down:
rdir/routes.c.rl 97.88% <0.00%> (-2.12%) :arrow_down:
tests/functional/cli/admin/test_item_check.py 70.26% <0.00%> (-2.05%) :arrow_down:
oio/content/plain.py 74.14% <0.00%> (-1.72%) :arrow_down:
meta1v2/meta1_server.c 69.68% <0.00%> (-1.63%) :arrow_down:
... and 39 more

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 316fa52...354df67. Read the comment docs.