Hi, is anyone meeting the same issue:
After waiting for 10s, the test coroutine is not completing
kotlinx.coroutines.test.UncompletedCoroutinesError: After waiting for 10s, the test coroutine is not completing
It only happens when running all tests together, using
./gradlew testDebugUnitTest
When running single test class file in IDE, it works all good.
It feels like the tests are running in parallel, and
runTest
will check all the coroutines to be finished when each test ends.