From 1388554bab0b5b99c856a238976d2109c53307f7 Mon Sep 17 00:00:00 2001 From: Tres Seaver Date: Thu, 28 Jun 2018 16:30:07 -0400 Subject: [PATCH] Harden '_list_entries' further against backoff failure. Closes #5303. --- logging/tests/system/test_system.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)