MCPcopy Create free account
hub / github.com/nodejs/node / _try_send_next_test

Method _try_send_next_test

deps/v8/tools/testrunner/testproc/seed.py:45–57  ·  view source on GitHub ↗
(self, test)

Source from the content-addressed store, hash-verified

43 self._send_result(test, None)
44
45 def _try_send_next_test(self, test):
46 def create_subtest(idx):
47 seed = self._seed or random_utils.random_seed()
48 return test.create_subtest(self, idx, random_seed=seed)
49
50 num = self._last_idx[test.procid]
51 if not self._count or num < self._count:
52 num += 1
53 self._todo[test.procid] += 1
54 self._last_idx[test.procid] = num
55 return self._send_test(create_subtest(num))
56
57 return False

Callers 2

_next_testMethod · 0.95
_result_forMethod · 0.95

Calls 1

_send_testMethod · 0.80

Tested by

no test coverage detected