dongnuo123 commented on code in PR #16845:
URL: https://github.com/apache/kafka/pull/16845#discussion_r1714495653
##########
tests/kafkatest/tests/client/consumer_test.py:
##########
@@ -608,7 +617,7 @@ def test_valid_assignment(self, assignment_strategy=None,
metadata_quorum=quorum
consumer.start_node(node)
self.await_members(consumer, num_started)
wait_until(lambda: self.valid_assignment(self.TOPIC,
self.NUM_PARTITIONS, consumer.current_assignment()),
- timeout_sec=15,
+ timeout_sec=self.session_timeout_sec*2,
Review Comment:
30s also works. Using `self.session_timeout_sec*2` is a rough assumption
that it takes two heartbeats for a consumer to stabilize. In this method it
will be 20s.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]