Commit 782a56fb authored by JINMEI Tatuya's avatar JINMEI Tatuya

[master] use larger failsafe timeouts for slower machines.

discussed on jabber, going to push it directory.  I think this is very minor,
so won't bother to increase the changelog size for this.
parent 3399d44c
......@@ -117,7 +117,7 @@ class SendNonblock(unittest.TestCase):
Tests that the whole thing will not get blocked if someone does not read.
"""
def terminate_check(self, task, timeout = 10):
def terminate_check(self, task, timeout=30):
"""
Runs task in separate process (task is a function) and checks
it terminates sooner than timeout.
......@@ -194,7 +194,7 @@ class SendNonblock(unittest.TestCase):
length = len(data)
queue_pid = os.fork()
if queue_pid == 0:
signal.alarm(30)
signal.alarm(120)
msgq.setup_poller()
msgq.register_socket(queue)
msgq.run()
......
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