Skip to content
This repository was archived by the owner on Mar 31, 2026. It is now read-only.

Commit 97732d7

Browse files
committed
chore: update test_transfer_manager.py for new retry scheme
1 parent f3517bf commit 97732d7

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

tests/unit/test_transfer_manager.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -826,12 +826,8 @@ def test_upload_chunks_concurrently_quotes_urls():
826826
container_mock.register_part.assert_any_call(2, ETAG)
827827
container_mock.finalize.assert_called_once_with(bucket.client._http)
828828

829-
assert container_mock._retry_strategy.max_sleep == 60.0
830-
assert container_mock._retry_strategy.max_cumulative_retry == 120.0
831-
assert container_mock._retry_strategy.max_retries is None
832-
833829
container_cls_mock.assert_called_once_with(
834-
quoted_url, FILENAME, headers=mock.ANY
830+
quoted_url, FILENAME, headers=mock.ANY, retry=DEFAULT_RETRY
835831
)
836832

837833
part_mock.upload.assert_called_with(transport)

0 commit comments

Comments
 (0)