Skip to content

test_retry: Avoid duplication in test setup

This monkeypatches the internal sleep function used to not wait. This kept the previous behavior. It changes the implementation to monkeypatch though. This also centralizes within a fixture.

This avoids repeating setup. The previous implementation cluttered the tests body instruction with internal implementation details.

Test Plan

tox


Migrated from D3060 (view on Phabricator)

Merge request reports