New submission from STINNER Victor:

"regrtest -jN --timeout=TIMEOUT" should kill a child process if it runs longer 
than TIMEOUT seconds. Maybe not exactly TIMEOUT, but TIMEOUT x 1.2?

Example:

http://buildbot.python.org/all/builders/AMD64%20Windows8.1%20Refleaks%203.x/builds/44/steps/test/logs/stdio

running: test_mmap (3165 sec), test_subprocess (8003 sec)
3:03:20 [405/406/1] test_mmap passed (3186 sec) -- running: test_subprocess 
(8026 sec)
beginning 6 repetitions
123456
......
running: test_subprocess (8056 sec)
running: test_subprocess (8086 sec)
running: test_subprocess (8116 sec)
running: test_subprocess (8146 sec)
running: test_subprocess (8176 sec)
...
running: test_subprocess (307672 sec)
running: test_subprocess (307702 sec)
running: test_subprocess (307732 sec)
running: test_subprocess (307762 sec)
...

----------
messages: 297998
nosy: haypo
priority: normal
severity: normal
status: open
title: regrtest -jN --timeout=TIMEOUT should kill child process running longer 
than TIMEOUT seconds

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue30884>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to