-
Notifications
You must be signed in to change notification settings - Fork 25
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
Add test for context race condition #600
Conversation
tests/epics/signal/test_signals.py
Outdated
await ophyd_async_sig.connect() | ||
ophyd_signal = EpicsSignal(ophyd_read) | ||
ophyd_signal.wait_for_connection() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we put any timeouts in here, or does it just hang anyway?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It hangs either way but I've added it anyway
Linting seems broken on main so I don't think it's related to this change specifically |
Yes, mainly bluesky/bluesky#1809 |
* Add test for context race condition * Add timeout to wait on connection in test
Adds test to cover DiamondLightSource/dodal#791.
To test:
aioca
confirm this test times outpip install git+https://github.com/DiamondLightSource/aioca.git@contexts
and confirm it passesNote we shouldn't merge this until the linked aioca branch is released