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

Check AsyncioDispatcher loop is running #96

Merged
merged 1 commit into from
Jul 27, 2022

Conversation

AlexanderWells-diamond
Copy link
Collaborator

Also added documentation.
Also fixed potential permanent block in tests - if the subprocess never creates its Client, the parent process blocks forever on an accept().
This was the case in the asyncio_ioc_override, where initialization was failing due to non-running loop.

Closes #95.

Also added documentation.
Also fixed potential permanent block in tests - if the subprocess never
creates its Client, the parent process blocks forever on an accept().
This was the case in the asyncio_ioc_override, where initialization was
failing due to non-running loop.
@codecov
Copy link

codecov bot commented Jul 27, 2022

Codecov Report

Merging #96 (52bebac) into master (e3d5590) will increase coverage by 0.02%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master      #96      +/-   ##
==========================================
+ Coverage   87.60%   87.63%   +0.02%     
==========================================
  Files          13       13              
  Lines         928      930       +2     
==========================================
+ Hits          813      815       +2     
  Misses        115      115              
Impacted Files Coverage Δ
softioc/asyncio_dispatcher.py 92.85% <100.00%> (+0.54%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e3d5590...52bebac. Read the comment docs.

@github-actions
Copy link

Unit Test Results

     15 files  ±  0       15 suites  ±0   21m 19s ⏱️ +40s
   225 tests +  1     219 ✔️ +  1      6 💤 ±0  0 ±0 
3 375 runs  +15  2 940 ✔️ +15  435 💤 ±0  0 ±0 

Results for commit 52bebac. ± Comparison against base commit e3d5590.

Copy link
Collaborator

@Araneidae Araneidae left a comment

Choose a reason for hiding this comment

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

Looks good to me

@AlexanderWells-diamond AlexanderWells-diamond merged commit 52bebac into master Jul 27, 2022
@AlexanderWells-diamond AlexanderWells-diamond deleted the Fix-custom-event-loops branch July 27, 2022 13:14
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.

Passing a custom asyncio event loop into the AsyncioDispatcher causes methods to never run
2 participants