nizhikov commented on a change in pull request #9196: URL: https://github.com/apache/kafka/pull/9196#discussion_r482863196
########## File path: tests/kafkatest/tests/streams/streams_broker_bounce_test.py ########## @@ -119,7 +119,7 @@ def __init__(self, test_context): def fail_broker_type(self, failure_mode, broker_type): # Pick a random topic and bounce it's leader topic_index = randint(0, len(self.topics.keys()) - 1) - topic = self.topics.keys()[topic_index] + topic = list(self.topics.keys())[topic_index] Review comment: I tried to do minimal changes and just fix the syntax difference between python2 and python3. Let's keep it to simplify ongoing reviews? ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org