-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Kotlin await hangs in docker (alpine image) #276
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
Comments
Can you provide an example and the thread dump ( |
Can you reproduce this problem with some small self-contained test? |
I have noted similar problems on Travis. Tests that run fine on my machine start hanging on Travis. |
Could you please show self-contained reproducer which hangs on Travis?
This case is properly handled: |
Actually I was taking about that piece of code. It means on a one or two CPU system it limits CommonPool to one thread. |
I am not sure if this is a Kotlin coroutines problem or a docker problem.
On Mac when we run any function via IntelliJ or Command line that returns Deferred object and call await() on it, it works wonderfully.
On Docker, it just hangs indefinitely. This is more apparent if there are nested async calls. The team has tried so hard to figure out why and I am hoping the solution is something trivial.
The text was updated successfully, but these errors were encountered: