Skip to content

Commit 5b6eb55

Browse files
authored
Merge pull request googleapis#3430 from dhermes/moar-retries-error-reporting
Increasing retries from 4 to 6 for error reporting system test.
2 parents 4877315 + 3f18199 commit 5b6eb55

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

error_reporting/tests/system.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,8 @@ def test_report_exception(self):
117117

118118
is_one = functools.partial(operator.eq, 1)
119119
is_one.__name__ = 'is_one' # partial() has no name.
120-
wrapped_get_count = RetryResult(is_one)(_get_error_count)
120+
retry = RetryResult(is_one, max_tries=6)
121+
wrapped_get_count = retry(_get_error_count)
121122

122123
error_count = wrapped_get_count(class_name, Config.CLIENT)
123124
self.assertEqual(error_count, 1)

0 commit comments

Comments
 (0)