marcinmoskala
04/17/2023, 10:44 AM1.6.4
in my project, after adding a library with dependency to Kotlin Coroutines 1.7.0-Beta
, tests using runTest
started failing because of backgroundScope
premature cancellation, the problem was gone after updating this project Kotlin Coroutines version to 1.7.0-Beta
. Can anyone explain it to me?Dmitry Khalanskiy [JB]
04/17/2023, 11:04 AMrunTest
was reworked quite a bit for 1.7.0-Beta
, but there was no intention to change the behavior of backgroundScope
. Maybe we introduced a bug (or accidentally fixed one). Could you file an issue at https://github.com/Kotlin/kotlinx.coroutines/issues with an example of the code that behaves incorrectly?Dmitry Khalanskiy [JB]
04/17/2023, 11:25 AM1.7.0-Beta
and 1.6.4
. If I understood correctly this time, the issue is with using kotlinx-coroutines-core:1.7.0-Beta
with kotlinx-coroutines-test:1.6.4
, right?marcinmoskala
04/17/2023, 11:32 AMmarcinmoskala
04/17/2023, 11:33 AMimplementation
blockmarcinmoskala
04/17/2023, 11:34 AMDmitry Khalanskiy [JB]
04/17/2023, 11:34 AMkotlinx-coroutines-core
would use the upgraded version for the whole project.Dmitry Khalanskiy [JB]
04/17/2023, 11:35 AM