diff --git a/logging/tests/system/test_system.py b/logging/tests/system/test_system.py index ccfac6d7b272..c627f5304f00 100644 --- a/logging/tests/system/test_system.py +++ b/logging/tests/system/test_system.py @@ -65,7 +65,8 @@ def _list_entries(logger): :returns: List of all entries consumed. """ inner = RetryResult(_has_entries)(_consume_entries) - outer = RetryErrors((ServiceUnavailable, ResourceExhausted))(inner) + outer = RetryErrors( + (ServiceUnavailable, ResourceExhausted), max_tries=9)(inner) return outer(logger)