Skip to content
This repository has been archived by the owner on Mar 26, 2024. It is now read-only.

Fix race condition in trashtest_comms teardown #5

Open
Badg opened this issue Dec 21, 2016 · 0 comments
Open

Fix race condition in trashtest_comms teardown #5

Badg opened this issue Dec 21, 2016 · 0 comments

Comments

@Badg
Copy link
Member

Badg commented Dec 21, 2016

Unix systems appear to be having a race condition in server teardown in trashtest_comms. Currently, the trashy workaround is a time.sleep(.1) call. This is bad practice and slows down the tests. It would be nice to know where the race condition is coming from, and then to fix it (theoretically, stop_threadsafe should block on full close. Is that the same as releasing the socket though?). It's possible this is a problem with Loopa.

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

No branches or pull requests

1 participant