From 5617a76ab2af4ff7a2fa8171283f5567e04e7a61 Mon Sep 17 00:00:00 2001 From: Angela Li Date: Tue, 1 Aug 2017 10:36:40 -0700 Subject: [PATCH] Reduce the max tries for logging system tests (#3708) --- logging/nox.py | 3 ++- logging/tests/system.py | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/logging/nox.py b/logging/nox.py index ea3621040796c..f1a1e5516e608 100644 --- a/logging/nox.py +++ b/logging/nox.py @@ -74,9 +74,10 @@ def system_tests(session, python_version): session.run( 'py.test', '-vvv', + '-s', 'tests/system.py', *session.posargs, - success_codes=range(0, 100), + success_codes=range(0, 100) ) diff --git a/logging/tests/system.py b/logging/tests/system.py index 70a950f15b919..0e2cb3ab9a32c 100644 --- a/logging/tests/system.py +++ b/logging/tests/system.py @@ -116,7 +116,7 @@ def setUp(self): self._handlers_cache = logging.getLogger().handlers[:] def tearDown(self): - retry = RetryErrors(NotFound, max_tries=10) + retry = RetryErrors(NotFound, max_tries=9) for doomed in self.to_delete: retry(doomed.delete)() logging.getLogger().handlers = self._handlers_cache[:]