MCPcopy Index your code
hub / github.com/nodejs/node / GetTimeout

Method GetTimeout

tools/test.py:996–1006  ·  view source on GitHub ↗
(self, mode, section='')

Source from the content-addressed store, hash-verified

994 return name
995
996 def GetTimeout(self, mode, section=''):
997 timeout = self.timeout * TIMEOUT_SCALEFACTOR[ARCH_GUESS or 'ia32'][mode]
998 if section == 'pummel' or section == 'benchmark':
999 timeout = timeout * 6
1000 # We run all WPT from one subset in the same process using workers.
1001 # As the number of the tests grow, it can take longer to run some of the
1002 # subsets, but it's still overall faster than running them in different
1003 # processes.
1004 elif section == 'wpt':
1005 timeout = timeout * 12
1006 return timeout
1007
1008def RunTestCases(cases_to_run, progress, tasks, flaky_tests_mode, measure_flakiness):
1009 progress = PROGRESS_INDICATORS[progress](cases_to_run, flaky_tests_mode, measure_flakiness)

Callers 2

RunCommandMethod · 0.80
RunCommandMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected