Skip to content

Commit 193f969

Browse files
committed
Fixing test
1 parent a5b851e commit 193f969

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/integration/consumer/test_consumer_topicpartition_metadata.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ def test_consumer_topicpartition_metadata(kafka_cluster):
3535
consumer_conf = {'group.id': 'pytest'}
3636

3737
c = kafka_cluster.consumer(consumer_conf)
38-
time.sleep(2)
38+
c.subscribe([topic])
39+
time.sleep(5)
3940

4041
# Commit without any metadata.
4142
metadata = None

0 commit comments

Comments
 (0)