-
Notifications
You must be signed in to change notification settings - Fork 192
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
Use aiormq with closing fix that gracefully teardown RMQ connection #6672
base: main
Are you sure you want to change the base?
Conversation
34a1676
to
3851fdd
Compare
b3b39ef
to
c7f02fe
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #6672 +/- ##
==========================================
- Coverage 77.94% 77.93% -0.00%
==========================================
Files 563 563
Lines 41761 41761
==========================================
- Hits 32545 32543 -2
- Misses 9216 9218 +2 ☔ View full report in Codecov by Sentry. |
This is an improvment on the experience of running pytest for daemon related tests, it will other wise hit the timeout for closing the broker. The time of running whole tests suit is only improved a bit since the closing only run once per session. But I think it may also improve the responsiveness of |
I went through the code base and found in aiida-core the workaround was introduced for solving the issue, it may not needed after this fixed. aiida-core/tests/manage/test_manager.py Lines 13 to 34 in 02cbe0c
|
@unkcpz I did indeed add that workaround because it was causing the tests to fail (or even hang, don't remember exactly anymore). I spent a long time debugging but never managed to fix it nor produce a MWE to post to |
fixes: #6673
apply the change of mosquito/aiormq#208