[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
This commit is contained in:
hpk 2007-02-11 09:32:27 +01:00
parent 8a60d6ee5c
commit 1c354315a6
1 changed files with 3 additions and 3 deletions

View File

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