Skip to content

Commit

Permalink
Merge pull request #2477 from BenPope/ducktape-retential-wait-for-con…
Browse files Browse the repository at this point in the history
…troller

ducktape: retention_policy - wait for controller
  • Loading branch information
jcsp committed Sep 29, 2021
2 parents 02f4eb2 + c728247 commit 5cda343
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/rptest/tests/retention_policy_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,10 @@ def test_changing_topic_retention_with_restart(self):
self.redpanda.restart_nodes(self.redpanda.nodes)

kafka_tools = KafkaCliTools(self.redpanda)

# Wait for controller, alter configs doesn't have a retry loop
kafka_tools.describe_topic(self.topic)

# change retention bytes to preserve 15 segments
kafka_tools.alter_topic_config(
self.topic, {
Expand Down

0 comments on commit 5cda343

Please sign in to comment.