Skip to content

Commit

Permalink
Merge pull request #11479 from vbotbuildovich/backport-pr-11472-v23.1…
Browse files Browse the repository at this point in the history
….x-260

[v23.1.x] Update start timeout for `leadership_transfer_test` on debug builds
  • Loading branch information
piyushredpanda authored Jul 19, 2023
2 parents ce3e0d8 + dafbf12 commit 4080ec1
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion tests/rptest/tests/leadership_transfer_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,14 @@ def topic_leadership_evenly_distributed():
# optimizations
time.sleep(60)

self.redpanda.start_node(node)
start_timeout = None
if self.debug_mode:
# Due to the high partition count in this test Redpanda
# can take longer than the default 20s to start on a debug
# release.
start_timeout = 60
self.redpanda.start_node(node, timeout=start_timeout)

self.logger.info("stabilization post start")
wait_until(lambda: topic_leadership_evenly_distributed(),
timeout_sec=300,
Expand Down

0 comments on commit 4080ec1

Please sign in to comment.