Interim mitigation for resilience relay bind: timeout bump + fixture retry#471
Open
ksuderman wants to merge 1 commit into
Open
Interim mitigation for resilience relay bind: timeout bump + fixture retry#471ksuderman wants to merge 1 commit into
ksuderman wants to merge 1 commit into
Conversation
…ry fresh start Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Refs #469 #470
Interim mitigation for the intermittent
Resilience Suitebind-timeout error(
TimeoutError: Pulsar did not bind <mode> consumers) This is a stopgap / safety net; the deterministic root-cause fix is proposed separately in the #470. The two arenon-overlapping and can land in either order.
Changes
harness/pulsar_control.py: bump the consumer bind timeout from60.0to120.0to givea slow startup more margin.
conftest.py:_start_fresh_with_retry(). Thepulsarfixture retries a freshstart once on the bind
TimeoutError. A blanket setup retry is more robust thanmarking individual scenarios rerun-eligible, since the error is not pinned to a fixed
test. Each attempt force-recreates the container (
fresh=True), so a retry starts froma clean slate. Only the bind
TimeoutErroris retried — adocker compose upfailurestill raises immediately, and the final
TimeoutErrorpropagates if every attempttimes out so a genuine breakage still surfaces.
No new test dependency (avoids pulling in
pytest-rerunfailures); retries silently tomatch the suite's existing no-logging style.
Testing
py_compileandflake8(max-line 150, complexity 14) pass.🤖 Generated with Claude Code