Use ZK config for nodepool integration test
The Nodepool integration test job waits forever for the ZK server to become available, but it's trying 2181/tcp and some time ago we switched the base test class to listen on 2281 and expect TLS. Update the client connection to match the current state of the server side. Change-Id: I2e4a34a20053c5bef6613d65d2f7debd7c18d29c
This commit is contained in:
parent
f2982dc152
commit
f1c7c70c18
|
@ -31,7 +31,7 @@ class TestNodepoolIntegration(BaseTestCase):
|
|||
super(TestNodepoolIntegration, self).setUp()
|
||||
|
||||
self.statsd = None
|
||||
self.zk_client = zuul.zk.ZooKeeperClient('localhost:2181')
|
||||
self.zk_client = zuul.zk.ZooKeeperClient.fromConfig(self.config)
|
||||
self.addCleanup(self.zk_client.disconnect)
|
||||
self.zk_client.connect()
|
||||
self.hostname = socket.gethostname()
|
||||
|
|
Loading…
Reference in New Issue