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

Method _get_timeout

deps/v8/tools/testrunner/objects/testcase.py:479–491  ·  view source on GitHub ↗
(self, params)

Source from the content-addressed store, hash-verified

477 return []
478
479 def _get_timeout(self, params):
480 timeout = self.test_config.timeout
481 if "--jitless" in params:
482 timeout *= 2
483 if "--no-turbofan" in params:
484 timeout *= 2
485 if "--noenable-vfp3" in params:
486 timeout *= 2
487 if self._get_timeout_param() == TIMEOUT_LONG:
488 timeout *= 10
489 if self.is_slow:
490 timeout *= 4
491 return timeout
492
493 def get_shell(self):
494 raise NotImplementedError()

Callers 1

get_commandMethod · 0.95

Calls 1

_get_timeout_paramMethod · 0.95

Tested by

no test coverage detected