Unable to receive failed tests report from remote machine when using Kotlin Coroutines runTest
yamal-alm opened this issue · comments
Hi, I'm experiencing a weird behavior when executing unit tests from Android Studio. I'm unable to receive the failed tests report from the remote machine and the IDE execution never ends. The execution seems to have finished but the IDE is not aware of it as it can be seen on this screenshot:
After debugging, I noticed that this is only happening when using runTest
method from kotlin-coroutines-test
package on the test that is failing and from the IDE (it works ok from command line). For example:
@Test
fun `this test should fail`() = runTest {
assertTrue(false)
}
Here you have an example repository where this bug can be reproduced after enabling remote compilation with Mirakle plugin: test-remote-compilation
Other information:
- Android Studio version: Dolphin 2021.3.1
- Mirakle version: 1.6.0
Hey, it is a weird thing, I can't find a way to fix this.