Unit test hanging with Coil3: Thead blocking issue??? #2739
Unanswered
rulogarcillan
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello everyone,
I am facing a peculiar issue in my Android project after adding Coil version 3 to my Gradle dependencies. I am not actively using Coil in my code; it is simply included in my build.gradle as follows:
The problem arises when I run my unit tests with JUnit5 and Mockito. All my tests run perfectly without Coil, but when I add this dependency, I notice that the tests hang, specifically it seems that the threads are getting blocked. I have a standard configuration without specific modifications that could be causing this issue, and I do not face problems with other libraries.
My question is whether there are specific changes in the way Coil manages resources, particularly threads, between versions 2 and 3 that might be influencing this behavior. Is there any automatic initialization configuration or thread handling in version 3 that differs significantly from version 2?
I am interested in any insights or suggestions you may have, even if the problem ends up being specific to my configuration environment. Any help in diagnosing and resolving this issue would be greatly appreciated.
Thank you in advance for your time and help.
Beta Was this translation helpful? Give feedback.
All reactions