• Home
  • Raw
  • Download

Lines Matching +full:timeout +full:- +full:minutes

17     format_test_result, TestResult, is_failed, TIMEOUT)
26 # Kill the main process after 5 minutes. It is supposed to write an update
27 # every PROGRESS_UPDATE seconds. Tolerate 5 minutes for Python slowest
58 '-u', # Unbuffered stdout and stderr
59 '-m', 'test.regrtest',
60 '--worker-args', worker_args]
92 """A thread-safe iterator over tests for multiprocess mode."""
126 self.timeout = runner.worker_timeout
145 dt = time.monotonic() - self.start_time
185 test_time = time.monotonic() - self.start_time
211 stdout, stderr = popen.communicate(timeout=self.timeout)
220 # On timeout, kill the process
223 # None means TIMEOUT for the caller
225 # bpo-38207: Don't attempt to call communicate() again: on it
252 return self.mp_result_error(test_name, TIMEOUT, stdout, stderr)
307 f"(timeout={format_duration(JOIN_TIMEOUT)}): "
311 # bpo-38207: MultiprocessTestRunner.stop_workers() called self.stop()
314 # TestWorkerProcess thread. This loop with a timeout is a workaround
326 dt = time.monotonic() - start_time
340 dt = time.monotonic() - worker.start_time
354 if self.ns.timeout is not None:
357 # of 5 minutes to faulthandler to kill the worker.
358 self.worker_timeout = min(self.ns.timeout * 1.5,
359 self.ns.timeout + 5 * 60)
368 if self.ns.timeout:
369 msg += (" (timeout: %s, worker timeout: %s)"
370 % (format_duration(self.ns.timeout),
387 return self.output.get(timeout=0)
391 use_faulthandler = (self.ns.timeout is not None)
392 timeout = PROGRESS_UPDATE
400 return self.output.get(timeout=timeout)
420 text += ' -- running: %s' % ', '.join(running)
462 if self.ns.timeout is not None: