Skip to content

Commit

Permalink
test(kafka): Bump the default poll timeout from 1 to 2s (#3465)
Browse files Browse the repository at this point in the history
Should hopefully fix: #3169 - it fails when trying to get outcomes, it
does not specify a timeout and sometimes an outcome hasn't arrived yet.

This does slightly increase the time it takes for a failing test, but
shouldn't affect the duration of succeeding tests.
  • Loading branch information
Dav1dde committed Apr 22, 2024
1 parent 51c35c7 commit 76629b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/integration/fixtures/processing.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ def __init__(self, consumer, options, topic_name, timeout=None):
self.consumer = consumer
self.test_producer = kafka_producer(options)
self.topic_name = topic_name
self.timeout = timeout or 1
self.timeout = timeout or 2

# Connect to the topic and poll a first test message.
# First poll takes forever, the next ones are fast.
Expand Down

0 comments on commit 76629b5

Please sign in to comment.