swh_storage = <swh.storage.validate.ValidatingProxyStorage object at 0x7f53d4dac860>
@given(branch_name=branch_names(), branch_target=branch_targets(only_objects=True))
> def test_snapshot_large(swh_storage, branch_name, branch_target): # noqa
.tox/py3/lib/python3.7/site-packages/swh/storage/tests/algos/test_snapshot.py:37:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
.tox/py3/lib/python3.7/site-packages/hypothesis/core.py:609: in execute_once
result = self.test_runner(data, run)
.tox/py3/lib/python3.7/site-packages/hypothesis/executors.py:52: in default_new_style_executor
return function(data)
.tox/py3/lib/python3.7/site-packages/hypothesis/core.py:605: in run
return test(*args, **kwargs)
.tox/py3/lib/python3.7/site-packages/swh/storage/tests/algos/test_snapshot.py:37: in test_snapshot_large
def test_snapshot_large(swh_storage, branch_name, branch_target): # noqa
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
args = (<swh.storage.validate.ValidatingProxyStorage object at 0x7f53d4dac860>, b'\x00', SnapshotBranch(target=b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00', target_type=<TargetType.CONTENT: 'content'>))
kwargs = {}, initial_draws = 1, start = 510525.923180452, result = None
finish = 510534.071837863, internal_draw_time = 0
runtime = datetime.timedelta(seconds=8, microseconds=148657)
current_deadline = timedelta(milliseconds=5000)
@proxies(self.test)
def test(*args, **kwargs):
self.__test_runtime = None
initial_draws = len(data.draw_times)
start = perf_counter()
result = self.test(*args, **kwargs)
finish = perf_counter()
internal_draw_time = sum(data.draw_times[initial_draws:])
runtime = datetime.timedelta(
seconds=finish - start - internal_draw_time
)
self.__test_runtime = runtime
current_deadline = self.settings.deadline
if not is_final:
current_deadline = (current_deadline // 4) * 5
if runtime >= current_deadline:
> raise DeadlineExceeded(runtime, self.settings.deadline)
E hypothesis.errors.DeadlineExceeded: Test took 8148.66ms, which exceeds the deadline of 5000.00ms
.tox/py3/lib/python3.7/site-packages/hypothesis/core.py:539: DeadlineExceeded
TEST RESULT
TEST RESULT
- Run At
- Jul 9 2020, 10:30 AM