-
Notifications
You must be signed in to change notification settings - Fork 12
Murko: continue thaw if redis is down #1750
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
Murko: continue thaw if redis is down #1750
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1750 +/- ##
=======================================
Coverage 99.12% 99.12%
=======================================
Files 282 282
Lines 10686 10698 +12
=======================================
+ Hits 10592 10604 +12
Misses 94 94 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
762bea8 to
a6493aa
Compare
DominicOram
left a comment
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.
Thanks, Just the one comment
| self._x_mm_setter(0) | ||
| self._y_mm_setter(0) | ||
| self._z_mm_setter(0) |
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.
Should: I think we probably want to set all these to 0 even if redis is down. Otherwise when redis goes down we will end up centring by the last amount we got, which is probably wrong
| await murko_results.stage() | ||
| await murko_results.trigger() | ||
| await murko_results.unstage() | ||
| assert await murko_results.x_mm.get_value() == 0 |
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.
Should: See comment above. Either this test or another should confirm that if we set some rubbish values into the x/y/z before stage it will reset them
DominicOram
left a comment
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.
Great, thank you!
Fixes DiamondLightSource/mx-bluesky#810
Required by DiamondLightSource/mx-bluesky#1437
Instructions to reviewer on how to test:
Checks for reviewer
dodal connect ${BEAMLINE}