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:
Jonathan Lebon 2017-03-20 12:15:54 -04:00 committed by Atomic Bot
parent a05e256177
commit 7233db8a74

View File

@ -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: