Skip to content

EXP-1174: Expand connection resilience test coverage - #34

Merged
Steven Roomberg (sroomberg-ep) merged 1 commit into
masterfrom
EXP-1174
Aug 4, 2026
Merged

EXP-1174: Expand connection resilience test coverage#34
Steven Roomberg (sroomberg-ep) merged 1 commit into
masterfrom
EXP-1174

Conversation

@sroomberg-ep

Copy link
Copy Markdown
Contributor

Summary

  • correct the compatibility test proving BeanstalkConnectionError remains catchable as BeanstalkError
  • verify ping() on a fresh client closes its probe without installing it as the active socket
  • cover refused, timeout, socket, and DNS failures through ping() with host and port context
  • verify all-down clients remain suppressed until positive backoff expires
  • verify a flapping client is skipped before and retried at its backoff deadline

Tests

  • 30 passed unit tests
  • uv run --extra dev flake8 pystalk tests
  • uv run python -m compileall -q pystalk tests

Ticket

EXP-1174

@sroomberg-ep
Steven Roomberg (sroomberg-ep) merged commit 9b018be into master Aug 4, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

low risk Low-risk change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants