Skip to content

Commit

Permalink
Fixing test with sleep
Browse files Browse the repository at this point in the history
  • Loading branch information
pranavrth committed Oct 14, 2024
1 parent 7dda52f commit a5b851e
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
# See the License for the specific language governing permissions and
# limit

import time
from confluent_kafka import TopicPartition


Expand All @@ -34,6 +35,7 @@ def test_consumer_topicpartition_metadata(kafka_cluster):
consumer_conf = {'group.id': 'pytest'}

c = kafka_cluster.consumer(consumer_conf)
time.sleep(2)

# Commit without any metadata.
metadata = None
Expand Down

0 comments on commit a5b851e

Please sign in to comment.