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

Don't raise ConditionTimeoutError if event loop does not time out #1182

Merged
merged 2 commits into from
Nov 18, 2022

Conversation

corranwebster
Copy link
Contributor

@corranwebster corranwebster commented Nov 17, 2022

Fixes #1181.

Also checks whether the condition was ever called and gives different messages depending on the cases.

Copy link
Member

@mdickinson mdickinson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@corranwebster
Copy link
Contributor Author

Thanks

@corranwebster corranwebster merged commit 90d4468 into main Nov 18, 2022
@corranwebster corranwebster deleted the fix/event-loop-until-condition-warn-no-timeout branch November 18, 2022 14:36
@corranwebster corranwebster added the needs backport to maint/* This issue needs to be backported to a maintenance branch label Nov 18, 2022
corranwebster added a commit that referenced this pull request Nov 21, 2022
…1182)

* Don't raise ConditionTimeoutError if event loop does not time out.

* Can't reliably ensure event loop finishes before call to condition.

I don't see any way to test the condition never evaluated branches.
corranwebster added a commit that referenced this pull request Nov 21, 2022
…1182)

* Don't raise ConditionTimeoutError if event loop does not time out.

* Can't reliably ensure event loop finishes before call to condition.

I don't see any way to test the condition never evaluated branches.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs backport to maint/* This issue needs to be backported to a maintenance branch
Projects
None yet
2 participants