HomeSoftware Heritage

test_retry: Use proper way to mock sleep of retryable storage methods

This commit no longer exists in the repository. It may have been part of a branch which was deleted.

Description

test_retry: Use proper way to mock sleep of retryable storage methods

Previous implementation was not mocking sleep of retryable storage methods
as the RetryingProxyStorage setup the retry features when it is instantiated.

So modify fixture to ensure sleep functions are mocked and return the mocks
in a dict indexed by storage method names.

This fixes debian buster package build for swh-storage.

Details

Provenance
anlambertAuthored on Oct 19 2022, 2:10 PM
anlambertPushed on Oct 19 2022, 2:39 PM
Differential Revision
D8745: test_retry: Use proper way to mock sleep of retryable storage methods
Build Status
Buildable 32469
Build 50851: test-and-buildJenkins console · Jenkins

Commit No Longer Exists

This commit no longer exists in the repository.