multitest.py: don't use os.wait()
We can't use os.wait(), since it will conflict with the subprocess' module's poll() and wait(). Closes: #694 Approved by: cgwalters
This commit is contained in:
parent
a05e256177
commit
7233db8a74
@ -3,6 +3,7 @@
|
||||
import os
|
||||
import sys
|
||||
import glob
|
||||
import time
|
||||
import subprocess
|
||||
|
||||
|
||||
@ -41,7 +42,7 @@ def wait_for_next_available_host(hosts):
|
||||
for host in hosts:
|
||||
if host.is_done():
|
||||
return host
|
||||
os.wait()
|
||||
time.sleep(1)
|
||||
|
||||
|
||||
class Host:
|
||||
|
Loading…
Reference in New Issue
Block a user