You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This code works totally fine on vanilla junit tests, or in <1.6.0 versions of coroutines, but it stuck forever in RobolectricTestRunner after upgrade to 1.6.0:
@Test
fun foo() = runBlocking {
withContext(Dispatchers.IO) {
println("before delay")
delay(1000) // <------ here stuck forever
println("after delay")
}
}
Test dispatchers also work OK. Is it intended? If not, I can create a full project if it helps you to fix the bug. My case is similar to #1365
The text was updated successfully, but these errors were encountered:
This issue keeps popping up, I counted already five. @qwwdfsad Maybe you can consider if anyhow possible to make a minor release where the delay change is reverted?
Last coroutines release was almost three month ago.
This code works totally fine on vanilla junit tests, or in <1.6.0 versions of coroutines, but it stuck forever in
RobolectricTestRunner
after upgrade to 1.6.0:Test dispatchers also work OK. Is it intended? If not, I can create a full project if it helps you to fix the bug. My case is similar to #1365
The text was updated successfully, but these errors were encountered: