Skip to content

Commit 7d5942b

Browse files
singholtThean Lim
authored andcommitted
tests: add out_s3 retry_limit and multipart test coverage
Add retry_limit tests: - putobject_retry_limit_semantics: verify retry_limit=1 results in exactly 2 PutObject attempts - default_retry_limit: verify default retry_limit (5) results in 6 PutObject attempts Add assertions to all existing tests to verify the correct S3 API path is exercised (PutObject vs multipart) and the expected number of API calls are made. Add preserve_data_ordering test to exercise the upload queue path. Use upload_timeout=6s with sleep(10) consistently so the timer fires and exercises the real upload path. Add unique store_dir via mkdtemp to multipart tests. Clean up all API call counters at the end of each test. All 15 tests pass under valgrind with 0 bytes definitely lost. Co-authored-by: Thean Lim <theanlim@amazon.com> Signed-off-by: Anuj Singh <singholt@amazon.com>
1 parent cee0142 commit 7d5942b

1 file changed

Lines changed: 374 additions & 12 deletions

File tree

0 commit comments

Comments
 (0)