Skip to content

Commit 97732d7

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

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy