提交 1c75c191 编写于 作者: A Amos Bird

Set up dns server for kafka integration tests.

上级 7893d584
......@@ -22,3 +22,13 @@ services:
KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR: 1
depends_on:
- kafka_zookeeper
dns-proxy-server:
image: defreitas/dns-proxy-server
hostname: dns.mageddo
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /etc/resolv.conf:/etc/resolv.conf
ports:
- 5380:5380
network_mode: bridge
......@@ -23,7 +23,7 @@ def started_cluster():
yield cluster
finally:
cluster.shutdown()
cluster.shutdown(False)
def test_kafka_json(started_cluster):
instance.query('''
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册