From 0d1ccc7485acf09b282d8cc7a06cfd94e690eddb Mon Sep 17 00:00:00 2001 From: Dana Powers Date: Mon, 15 Feb 2016 20:20:56 -0800 Subject: Support setting kafka instance port explicitly in fixture --- test/test_consumer_integration.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'test/test_consumer_integration.py') diff --git a/test/test_consumer_integration.py b/test/test_consumer_integration.py index 48e7e0c..1b60c95 100644 --- a/test/test_consumer_integration.py +++ b/test/test_consumer_integration.py @@ -27,8 +27,10 @@ class TestConsumerIntegration(KafkaIntegrationTestCase): cls.zk = ZookeeperFixture.instance() chroot = random_string(10) - cls.server1 = KafkaFixture.instance(0, cls.zk.host, cls.zk.port, chroot) - cls.server2 = KafkaFixture.instance(1, cls.zk.host, cls.zk.port, chroot) + cls.server1 = KafkaFixture.instance(0, cls.zk.host, cls.zk.port, + zk_chroot=chroot) + cls.server2 = KafkaFixture.instance(1, cls.zk.host, cls.zk.port, + zk_chroot=chroot) cls.server = cls.server1 # Bootstrapping server -- cgit v1.2.1