swift/test/unit
Clay Gerrard 4a4d899680 Refactor EC multipart/byteranges control flow
The multipart document handling in the proxy is consumed via iteration,
but the error handling code is not consistent with how it applies
conversions of IO errors/timeouts and retry failures to StopIteration.

In an effort to make the code more obvious and easier to debug and
maintain I've added comments and additional tests as well as tightening
up StopIteration exception handling.

Co-Authored-By: Alistair Coles <alistairncoles@gmail.com>
Change-Id: I0654815543be3df059eb2875d9b3669dbd97f5b4
2021-04-21 12:45:20 -05:00
..
account replace md5 with swift utils version 2020-12-15 09:52:55 -05:00
cli Merge "Use debug_logger instead of FakeLogger in relinker tests" 2021-04-07 01:19:11 +00:00
common Merge "s3api: Add config option to return 429s on ratelimit" 2021-04-13 01:42:12 +00:00
container Merge "sharder: Prevent ValueError when no cleaving contexts" 2021-04-07 13:54:59 +00:00
obj Merge "relinker: retry links from older part powers" 2021-04-02 00:27:22 +00:00
proxy Refactor EC multipart/byteranges control flow 2021-04-21 12:45:20 -05:00
test_locale py3: port the test of locale 2019-06-19 09:54:14 -07:00
__init__.py Refactor EC multipart/byteranges control flow 2021-04-21 12:45:20 -05:00
helpers.py Allow internal clients to use reserved namespace 2019-11-27 11:22:00 -06:00