Switch another test to the adoption method
This commit is contained in:
parent
277cd16594
commit
711d63960d
|
@ -432,8 +432,8 @@ class SystemTest(SystemTestMixin, unittest.TestCase):
|
||||||
#tub.setOption("logRemoteFailures", True)
|
#tub.setOption("logRemoteFailures", True)
|
||||||
tub.setOption("expose-remote-exception-types", False)
|
tub.setOption("expose-remote-exception-types", False)
|
||||||
tub.setServiceParent(self.parent)
|
tub.setServiceParent(self.parent)
|
||||||
portnum = iputil.allocate_tcp_port()
|
portnum, endpoint = foolscapEndpointForPortNumber(None)
|
||||||
tub.listenOn("tcp:%d" % portnum)
|
tub.listenOn(endpoint)
|
||||||
tub.setLocation("localhost:%d" % portnum)
|
tub.setLocation("localhost:%d" % portnum)
|
||||||
|
|
||||||
log.msg("creating client %d: %s" % (i, tub.getShortTubID()))
|
log.msg("creating client %d: %s" % (i, tub.getShortTubID()))
|
||||||
|
|
Loading…
Reference in New Issue