Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: raise a more specific exception on timeout #88

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

nejch
Copy link

@nejch nejch commented Oct 15, 2022

This provides a narrower exception to catch when calling wait_until_responsive.

Context: when an entire testsuite relies on a service, I'd like to call pytest.exit() if it times out so that a useful error message is displayed for the user instead of failing the fixture setup for all tests and producing a wall of text.

/cc @Luminaar

@augi
Copy link
Member

augi commented Jan 25, 2024

May I ask you to resolve the conflicts? 🙏 Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants