File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -255,7 +255,6 @@ def test_kafka_batch_npartitions():
255255 "--create --zookeeper localhost:2181 "
256256 "--replication-factor 1 --partitions 2 "
257257 "--topic test-partitions" ))
258- time .sleep (5 )
259258
260259 for i in range (10 ):
261260 if i % 2 == 0 :
@@ -304,7 +303,6 @@ def test_kafka_refresh_partitions():
304303 "--create --zookeeper localhost:2181 "
305304 "--replication-factor 1 --partitions 2 "
306305 "--topic test-refresh-partitions" ))
307- time .sleep (2 )
308306
309307 for i in range (10 ):
310308 if i % 2 == 0 :
@@ -327,7 +325,6 @@ def test_kafka_refresh_partitions():
327325 "--alter --zookeeper localhost:2181 "
328326 "--topic test-refresh-partitions --partitions 4" ))
329327 time .sleep (5 )
330-
331328 for i in range (10 ,20 ):
332329 if i % 2 == 0 :
333330 kafka .produce (TOPIC , b'value-%d' % i , partition = 2 )
@@ -572,7 +569,6 @@ def test_kafka_checkpointing_auto_offset_reset_latest():
572569 "--create --zookeeper localhost:2181 "
573570 "--replication-factor 1 --partitions 3 "
574571 "--topic test-checkpointing-offset-reset-latest" ))
575- time .sleep (2 )
576572
577573 '''
578574 Since the stream has not started yet, these messages are not read because
You can’t perform that action at this time.
0 commit comments