See failed system test runs.
___________________TestErrorReporting.test_report_exception___________________self=<test_system.TestErrorReportingtestMethod=test_report_exception>deftest_report_exception(self):
# Get a class name unique to this test case.class_name="RuntimeError"+unique_resource_id("_")
# Simulate an error: group won't exist until we report# first exception._simulate_exception(class_name, Config.CLIENT)
is_one=functools.partial(operator.eq, 1)
is_one.__name__="is_one"# partial() has no name.retry=RetryResult(is_one, max_tries=6)
wrapped_get_count=retry(_get_error_count)
>error_count=wrapped_get_count(class_name, Config.CLIENT)
tests/system/test_system.py:123:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
args= ('RuntimeError_1545140110332', <google.cloud.error_reporting.client.Clientobjectat0x7fb7b6633828>)
kwargs= {}, tries=6, result=None, delay=32msg='is_one. Trying again in 32 seconds...'@wraps(to_wrap)defwrapped_function(*args, **kwargs):
tries=0whiletries<self.max_tries:
result=to_wrap(*args, **kwargs)
ifself.result_predicate(result):
returnresultdelay=self.delay*self.backoff**triesmsg="%s. Trying again in %d seconds..."% (
self.result_predicate.__name__, delay,)
self.logger(msg)
time.sleep(delay)
tries+=1>raiseBackoffFailed()
Etest_utils.retry.BackoffFailed
../test_utils/test_utils/retry.py:155: BackoffFailed
See failed system test runs.