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

Fix Windows test failure #196

Open
haata opened this issue Dec 12, 2019 · 1 comment
Open

Fix Windows test failure #196

haata opened this issue Dec 12, 2019 · 1 comment
Assignees
Labels

Comments

@haata
Copy link
Collaborator

haata commented Dec 12, 2019

Currently some of the Windows asyncio server tests fail.
https://github.com/capnproto/pycapnp/runs/345170294#step:7:72

This is likely to do with this line https://github.com/capnproto/pycapnp/blob/master/examples/async_server.py#L18

My suspicion is that getTimer() is not returning and is blocking forever. Since this function does work in thread_client.py / thread_server.py I suspect some asyncio detail is starving the capnproto event loop. I've seen similar things happen when integrating pycapnp with PySide2 (Qt5).

It's possible (and likely) that the bug is actually in the test code rather than the pycapnp library.

@haata haata added the bug label Dec 12, 2019
@haata haata self-assigned this Dec 12, 2019
@haata
Copy link
Collaborator Author

haata commented Jun 10, 2020

Instead of holding up the v1.0.0 release for another few months, I'm going to skip this test on Windows and add an ssl asyncio calculator test which should check the most common use cases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant