Show More
@@ -75,7 +75,7 b' def Popen4(cmd, wd, timeout):' | |||
|
75 | 75 | def t(): |
|
76 | 76 | start = time.time() |
|
77 | 77 | while time.time() - start < timeout and p.returncode is None: |
|
78 | time.sleep(1) | |
|
78 | time.sleep(.1) | |
|
79 | 79 | p.timeout = True |
|
80 | 80 | if p.returncode is None: |
|
81 | 81 | terminate(p) |
@@ -360,7 +360,7 b' def killdaemons():' | |||
|
360 | 360 | os.kill(pid, 0) |
|
361 | 361 | vlog('# Killing daemon process %d' % pid) |
|
362 | 362 | os.kill(pid, signal.SIGTERM) |
|
363 |
time.sleep(0. |
|
|
363 | time.sleep(0.1) | |
|
364 | 364 | os.kill(pid, 0) |
|
365 | 365 | vlog('# Daemon process %d is stuck - really killing it' % pid) |
|
366 | 366 | os.kill(pid, signal.SIGKILL) |
@@ -1275,7 +1275,7 b' def main():' | |||
|
1275 | 1275 | else: |
|
1276 | 1276 | runtests(options, tests) |
|
1277 | 1277 | finally: |
|
1278 | time.sleep(1) | |
|
1278 | time.sleep(.1) | |
|
1279 | 1279 | cleanup(options) |
|
1280 | 1280 | |
|
1281 | 1281 | if __name__ == '__main__': |
General Comments 0
You need to be logged in to leave comments.
Login now