-
Notifications
You must be signed in to change notification settings - Fork 4
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
Sometimes BmiClientDocker construction hangs #16
Comments
Adding a I think the channel_ready_future is called when the container is not yet up. Waiting a bit gives the container enough time to start up. Sleep is a bit hacky I propose we wait until the container is running or even healthy using the healthcheck. |
Yeah I had a sleep there originally but I removed it to speed up the test suite. |
Instead of sleep used self.container.reload()
while self.container.status is 'created':
time.sleep(0.1)
self.container.reload() The status is Still hangups occur. |
When
on calling the initialize method. |
Less likely to become stuck Refs #16
When doing:
Sometimes the intepreter hangs, when killed the stack trace is
The text was updated successfully, but these errors were encountered: