parent
2fede49078
commit
b75198396d
|
@ -90,7 +90,7 @@ class ClientTest(testlib.TestCase):
|
||||||
while True:
|
while True:
|
||||||
try:
|
try:
|
||||||
return mitogen.unix.connect(path)
|
return mitogen.unix.connect(path)
|
||||||
except socket.error:
|
except mitogen.unix.ConnectError:
|
||||||
if time.time() > timeout:
|
if time.time() > timeout:
|
||||||
raise
|
raise
|
||||||
time.sleep(0.1)
|
time.sleep(0.1)
|
||||||
|
|
Loading…
Reference in New Issue