Lines Matching defs:retry
7 """Unit tests for client/common_lib/cros/retry.py."""
15 from autotest_lib.client.common_lib.cros import retry
20 """Unit tests for retry decorators.
34 @retry.retry(Exception)
44 """Tests that a wrapped function can retry and succeed."""
46 @retry.retry(Exception, delay_sec=delay_sec)
62 @retry.retry(Exception, delay_sec=delay_sec)
73 """Tests that dynamic_suite exceptions raise immediately, no retry."""
74 @retry.retry(Exception)
85 @retry.retry(Exception, timeout_min=0.02, delay_sec=0.1)
97 @retry.retry(Exception, timeout_min=0.02, delay_sec=0.1)
113 @retry.retry(Exception, timeout_min=0.05, delay_sec=0.1)
138 @retry.retry(Exception, timeout_min=0.06, delay_sec=0.1)