Closed DeepuGeorgeJacob closed 10 months ago
This issues page is for raising issues in Turbine for maintainers to fix. For maintainers to fix those issues, they need a description of what the problem is, plus a code example that triggers the incorrect behavior in addition to a stack trace.
If you can provide this additional information, please do so! Otherwise, this isn't actionable for us.
No value produced in 3s app.cash.turbine.TurbineAssertionError: No value produced in 3s at app//app.cash.turbine.ChannelKt.awaitEvent(channel.kt:89) at app//app.cash.turbine.ChannelKt$awaitEvent$1.invokeSuspend(channel.kt) at app//kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at app//kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104) at app//kotlinx.coroutines.test.TestDispatcher.processEvent$kotlinx_coroutines_test(TestDispatcher.kt:28) at app//kotlinx.coroutines.test.TestCoroutineScheduler.tryRunNextTaskUnless$kotlinx_coroutines_test(TestCoroutineScheduler.kt:103) at app//kotlinx.coroutines.test.TestBuildersKtTestBuildersKt$runTest$2$1$workRunner$1.invokeSuspend(TestBuilders.kt:320) at app//kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at app//kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106) at app//kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:280) at app//kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:85) at app//kotlinx.coroutines.BuildersKtBuildersKt.runBlocking(Builders.kt:59) at app//kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source) at app//kotlinx.coroutines.BuildersKtBuildersKt.runBlocking$default(Builders.kt:38) at app//kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source) at app//kotlinx.coroutines.test.TestBuildersJvmKt.createTestResult(TestBuildersJvm.kt:13) at app//kotlinx.coroutines.test.TestBuildersKtTestBuildersKt.runTest-8Mi8wO0(TestBuilders.kt:308) at app//kotlinx.coroutines.test.TestBuildersKt.runTest-8Mi8wO0(Unknown Source) at app//kotlinx.coroutines.test.TestBuildersKtTestBuildersKt.runTest-8Mi8wO0(TestBuilders.kt:166) at app//kotlinx.coroutines.test.TestBuildersKt.runTest-8Mi8wO0(Unknown Source) at app//kotlinx.coroutines.test.TestBuildersKtTestBuildersKt.runTest-8Mi8wO0$default(TestBuilders.kt:158) at app//kotlinx.coroutines.test.TestBuildersKt.runTest-8Mi8wO0$default(Unknown Source) at app//com.app.sai.anathabhojanam.ui.screen.login.LoginViewModelTest.verify login(LoginViewModelTest.kt:12) at java.base@17.0.7/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base@17.0.7/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at java.base@17.0.7/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.base@17.0.7/java.lang.reflect.Method.invoke(Unknown Source) at app//org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) at app//org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at app//org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56) at app//org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at app//org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at app//org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) at app//org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) at app//org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) at app//org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) at app//org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at app//org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at app//org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at app//org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at app//org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at app//org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at app//org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.runTestClass(JUnitTestClassExecutor.java:108) at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:58) at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:40) at org.gradle.api.internal.tasks.testing.junit.AbstractJUnitTestClassProcessor.processTestClass(AbstractJUnitTestClassProcessor.java:60) at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:52) at java.base@17.0.7/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base@17.0.7/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at java.base@17.0.7/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.base@17.0.7/java.lang.reflect.Method.invoke(Unknown Source) at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36) at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24) at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:33) at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:94) at jdk.proxy1/jdk.proxy1.$Proxy2.processTestClass(Unknown Source) at org.gradle.api.internal.tasks.testing.worker.TestWorker$2.run(TestWorker.java:176) at org.gradle.api.internal.tasks.testing.worker.TestWorker.executeAndMaintainThreadName(TestWorker.java:129) at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:100) at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:60) at org.gradle.process.internal.worker.child.ActionExecutionWorker.execute(ActionExecutionWorker.java:56) at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:113) at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:65) at app//worker.org.gradle.process.internal.worker.GradleWorkerMain.run(GradleWorkerMain.java:69) at app//worker.org.gradle.process.internal.worker.GradleWorkerMain.main(GradleWorkerMain.java:74) Caused by: app.cash.turbine.TurbineTimeoutCancellationException: Timed out waiting for 3s at app//app.cash.turbine.ChannelKt$withWallclockTimeout$2$1$2.invokeSuspend(channel.kt:123) at app//app.cash.turbine.ChannelKt$withWallclockTimeout$2$1$2.invoke(channel.kt) at app//app.cash.turbine.ChannelKt$withWallclockTimeout$2$1$2.invoke(channel.kt) at app//kotlinx.coroutines.selects.SelectImplementation$ClauseData.invokeBlock(Select.kt:818) at app//kotlinx.coroutines.selects.SelectImplementation.processResultAndInvokeBlockRecoveringException(Select.kt:706) at app//kotlinx.coroutines.selects.SelectImplementation.complete(Select.kt:699) at app//kotlinx.coroutines.selects.SelectImplementation.doSelectSuspend(Select.kt:434) at app//kotlinx.coroutines.selects.SelectImplementation.access$doSelectSuspend(Select.kt:243) at app//kotlinx.coroutines.selects.SelectImplementation$doSelectSuspend$1.invokeSuspend(Select.kt) at _COROUTINE.BOUNDARY.(CoroutineDebugging.kt:46) at kotlinx.coroutines.selects.SelectImplementation.processResultAndInvokeBlockRecoveringException(Select.kt:706) at kotlinx.coroutines.selects.SelectImplementation.doSelectSuspend(Select.kt:434) at app.cash.turbine.ChannelKt$withWallclockTimeout$2.invokeSuspend(channel.kt:273) at app.cash.turbine.ChannelKt.awaitEvent(channel.kt:83) at app.cash.turbine.ChannelKt.awaitItem(channel.kt:190) at app.cash.turbine.ChannelTurbine$awaitItem$2.invokeSuspend(Turbine.kt:199) at org.orbitmvi.orbit.test.RealOrbitTestContext.awaitState(RealOrbitTestContext.kt:54) at org.orbitmvi.orbit.test.RealOrbitTestContext.expectState(RealOrbitTestContext.kt:88) at com.app.sai.anathabhojanam.ui.screen.login.LoginViewModelTest$verify login$1$1.invokeSuspend(LoginViewModelTest.kt:19) at org.orbitmvi.orbit.test.TestKt$test$2.invokeSuspend(Test.kt:69) at app.cash.turbine.FlowKt$test$2.invokeSuspend(flow.kt:61) at com.app.sai.anathabhojanam.ui.screen.login.LoginViewModelTest$verify login$1.invokeSuspend(LoginViewModelTest.kt:13) at kotlinx.coroutines.test.TestBuildersKtTestBuildersKt$runTest$2$1$1.invokeSuspend(TestBuilders.kt:314) Caused by: app.cash.turbine.TurbineTimeoutCancellationException: Timed out waiting for 3s at app//app.cash.turbine.ChannelKt$withWallclockTimeout$2$1$2.invokeSuspend(channel.kt:123) at app//app.cash.turbine.ChannelKt$withWallclockTimeout$2$1$2.invoke(channel.kt) at app//app.cash.turbine.ChannelKt$withWallclockTimeout$2$1$2.invoke(channel.kt) at app//kotlinx.coroutines.selects.SelectImplementation$ClauseData.invokeBlock(Select.kt:818) at app//kotlinx.coroutines.selects.SelectImplementation.processResultAndInvokeBlockRecoveringException(Select.kt:706) at app//kotlinx.coroutines.selects.SelectImplementation.complete(Select.kt:699) at app//kotlinx.coroutines.selects.SelectImplementation.doSelectSuspend(Select.kt:434) at app//kotlinx.coroutines.selects.SelectImplementation.access$doSelectSuspend(Select.kt:243) at app//kotlinx.coroutines.selects.SelectImplementation$doSelectSuspend$1.invokeSuspend(Select.kt) at app//kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at app//kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106) at app//kotlinx.coroutines.test.TestDispatcher.processEvent$kotlinx_coroutines_test(TestDispatcher.kt:28) at app//kotlinx.coroutines.test.TestCoroutineScheduler.tryRunNextTaskUnless$kotlinx_coroutines_test(TestCoroutineScheduler.kt:103) at app//kotlinx.coroutines.test.TestBuildersKtTestBuildersKt$runTest$2$1$workRunner$1.invokeSuspend(TestBuilders.kt:320) at app//kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at app//kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106) at app//kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:280) at app//kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:85) at app//kotlinx.coroutines.BuildersKtBuildersKt.runBlocking(Builders.kt:59) at app//kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source) at app//kotlinx.coroutines.BuildersKtBuildersKt.runBlocking$default(Builders.kt:38) at app//kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source) at app//kotlinx.coroutines.test.TestBuildersJvmKt.createTestResult(TestBuildersJvm.kt:13) at app//kotlinx.coroutines.test.TestBuildersKtTestBuildersKt.runTest-8Mi8wO0(TestBuilders.kt:308) at app//kotlinx.coroutines.test.TestBuildersKt.runTest-8Mi8wO0(Unknown Source) at app//kotlinx.coroutines.test.TestBuildersKtTestBuildersKt.runTest-8Mi8wO0(TestBuilders.kt:166) at app//kotlinx.coroutines.test.TestBuildersKt.runTest-8Mi8wO0(Unknown Source) at app//kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt.runTest-8Mi8wO0$default(TestBuilders.kt:158) at app//kotlinx.coroutines.test.TestBuildersKt.runTest-8Mi8wO0$default(Unknown Source) at app//com.app.sai.anathabhojanam.ui.screen.login.LoginViewModelTest.verify login(LoginViewModelTest.kt:12) at java.base@17.0.7/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base@17.0.7/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at java.base@17.0.7/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.base@17.0.7/java.lang.reflect.Method.invoke(Unknown Source) at app//org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) at app//org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at app//org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56) at app//org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at app//org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at app//org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) at app//org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) at app//org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) at app//org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) at app//org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at app//org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at app//org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at app//org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at app//org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at app//org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at app//org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.runTestClass(JUnitTestClassExecutor.java:108) at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:58) at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:40) at org.gradle.api.internal.tasks.testing.junit.AbstractJUnitTestClassProcessor.processTestClass(AbstractJUnitTestClassProcessor.java:60) at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:52) at java.base@17.0.7/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base@17.0.7/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at java.base@17.0.7/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.base@17.0.7/java.lang.reflect.Method.invoke(Unknown Source) at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36) at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24) at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:33) at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:94) at jdk.proxy1/jdk.proxy1.$Proxy2.processTestClass(Unknown Source) at org.gradle.api.internal.tasks.testing.worker.TestWorker$2.run(TestWorker.java:176) at org.gradle.api.internal.tasks.testing.worker.TestWorker.executeAndMaintainThreadName(TestWorker.java:129) at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:100) at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:60) at org.gradle.process.internal.worker.child.ActionExecutionWorker.execute(ActionExecutionWorker.java:56) at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:113) at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:65) at app//worker.org.gradle.process.internal.worker.GradleWorkerMain.run(GradleWorkerMain.java:69) at app//worker.org.gradle.process.internal.worker.GradleWorkerMain.main(GradleWorkerMain.java:74)