Skip to content

Commit a967300

Browse files
Change topic name in test to test-refresh-partitions
1 parent d787cb6 commit a967300

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

streamz/tests/test_kafka.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -298,12 +298,12 @@ def test_kafka_refresh_cycles():
298298
'auto.offset.reset': 'earliest'}
299299
with kafka_service() as kafka:
300300
kafka, TOPIC = kafka
301-
TOPIC = "test-partitions"
301+
TOPIC = "test-refresh-partitions"
302302
subprocess.call(shlex.split("docker exec streamz-kafka "
303303
"/opt/kafka_2.11-0.10.1.0/bin/kafka-topics.sh "
304304
"--create --zookeeper localhost:2181 "
305305
"--replication-factor 1 --partitions 2 "
306-
"--topic test-partitions"))
306+
"--topic test-refresh-partitions"))
307307
time.sleep(2)
308308

309309
for i in range(10):
@@ -325,7 +325,7 @@ def test_kafka_refresh_cycles():
325325
subprocess.call(shlex.split("docker exec streamz-kafka "
326326
"/opt/kafka_2.11-0.10.1.0/bin/kafka-topics.sh "
327327
"--alter --zookeeper localhost:2181 "
328-
"--topic test-partitions --partitions 4"))
328+
"--topic test-refresh-partitions --partitions 4"))
329329
time.sleep(5)
330330

331331
for i in range(10,20):

0 commit comments

Comments
 (0)