[svn r37457] explicitely shutdown the gateway for the remote session
after each run. --HG-- branch : trunk
This commit is contained in:
parent
dad2da4583
commit
9e7886c59b
|
@ -101,18 +101,21 @@ class RemoteTerminalSession(object):
|
||||||
from py.__.test.terminal.remote import slaverun_TerminalSession
|
from py.__.test.terminal.remote import slaverun_TerminalSession
|
||||||
slaverun_TerminalSession(channel)
|
slaverun_TerminalSession(channel)
|
||||||
""", stdout=self.out, stderr=self.out)
|
""", stdout=self.out, stderr=self.out)
|
||||||
print "MASTER: initiated slave terminal session ->"
|
|
||||||
repr = self.config.make_repr(conftestnames=[])
|
|
||||||
channel.send((str(topdir), repr, failures))
|
|
||||||
print "MASTER: send start info, topdir=%s" % (topdir,)
|
|
||||||
try:
|
try:
|
||||||
return channel.receive()
|
print "MASTER: initiated slave terminal session ->"
|
||||||
except channel.RemoteError, e:
|
repr = self.config.make_repr(conftestnames=[])
|
||||||
print "*" * 70
|
channel.send((str(topdir), repr, failures))
|
||||||
print "ERROR while waiting for proper slave startup"
|
print "MASTER: send start info, topdir=%s" % (topdir,)
|
||||||
print "*" * 70
|
try:
|
||||||
print e
|
return channel.receive()
|
||||||
return []
|
except channel.RemoteError, e:
|
||||||
|
print "*" * 70
|
||||||
|
print "ERROR while waiting for proper slave startup"
|
||||||
|
print "*" * 70
|
||||||
|
print e
|
||||||
|
return []
|
||||||
|
finally:
|
||||||
|
gw.exit()
|
||||||
|
|
||||||
def slaverun_TerminalSession(channel):
|
def slaverun_TerminalSession(channel):
|
||||||
""" we run this on the other side. """
|
""" we run this on the other side. """
|
||||||
|
|
Loading…
Reference in New Issue