diff --git a/src/test/scala/okapies/finagle/kafka/ClientTest.scala b/src/test/scala/okapies/finagle/kafka/ClientTest.scala index 98f8888..6ecb0c3 100644 --- a/src/test/scala/okapies/finagle/kafka/ClientTest.scala +++ b/src/test/scala/okapies/finagle/kafka/ClientTest.scala @@ -40,6 +40,7 @@ trait KafkaTest extends BeforeAndAfterAll { suite: Suite => kafkaConfig = TestUtils.createBrokerConfig(1) kafkaConfig.put("zookeeper.connect", zkConn) + kafkaConfig.put("host.name", "127.0.0.1") kafkaConn = s"""${kafkaConfig.get("host.name")}:${kafkaConfig.get("port")}""" kafkaServer = TestUtils.createServer(new KafkaConfig(kafkaConfig))