From 1c354315a68b9a6fdd6475e87c1abc2f3d94a038 Mon Sep 17 00:00:00 2001 From: hpk Date: Sun, 11 Feb 2007 09:32:27 +0100 Subject: [PATCH] [svn r38441] increase hard-coded timeouts a bit (waitclose() will not neccessarily wait that long, it returns as soon as the channel is closed so it's not as bad as outright sleeping) --HG-- branch : trunk --- py/execnet/testing/test_gateway.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/py/execnet/testing/test_gateway.py b/py/execnet/testing/test_gateway.py index 854d613b7..76c472678 100644 --- a/py/execnet/testing/test_gateway.py +++ b/py/execnet/testing/test_gateway.py @@ -98,11 +98,11 @@ class BasicRemoteExecution: def test_remote_exec_waitclose(self): channel = self.gw.remote_exec('pass') - channel.waitclose(timeout=1.0) + channel.waitclose(timeout=5.0) def test_remote_exec_waitclose_2(self): channel = self.gw.remote_exec('def gccycle(): pass') - channel.waitclose(timeout=1.0) + channel.waitclose(timeout=5.0) def test_remote_exec_waitclose_noarg(self): channel = self.gw.remote_exec('pass') @@ -110,7 +110,7 @@ class BasicRemoteExecution: def test_remote_exec_error_after_close(self): channel = self.gw.remote_exec('pass') - channel.waitclose(timeout=1.0) + channel.waitclose(timeout=5.0) py.test.raises(IOError, channel.send, 0) def test_remote_exec_channel_anonymous(self):