Skip to content

Commit

Permalink
Reduce the max tries for logging system tests (#3708)
Browse files Browse the repository at this point in the history
  • Loading branch information
liyanhui1228 authored and dhermes committed Aug 1, 2017
1 parent 6dc55fd commit 96f0cc3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion logging/nox.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
)


Expand Down
2 changes: 1 addition & 1 deletion logging/tests/system.py
Original file line number Diff line number Diff line change
Expand Up @@ -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[:]
Expand Down

0 comments on commit 96f0cc3

Please sign in to comment.