Commit d63d3e88 authored by Grégory Wisniewski's avatar Grégory Wisniewski

Sometimes functional tests crash on "Address already in use" socket error. It

seems that the socket closure is delayed so wait a bit after stop the cluster
in functional tests.


git-svn-id: https://svn.erp5.org/repos/neo/trunk@1363 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 0aba0418
...@@ -258,6 +258,7 @@ class NEOCluster(object): ...@@ -258,6 +258,7 @@ class NEOCluster(object):
process.wait() process.wait()
except AlreadyStopped: except AlreadyStopped:
pass pass
time.sleep(0.5)
def getNEOCTL(self): def getNEOCTL(self):
return self.neoctl return self.neoctl
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment