fix: read receipts are not sent when the app is in background (WPB-8756) #3054
5 fail, 6 skipped, 2 303 pass in 24s
2 314 tests 2 303 ✅ 24s ⏱️
1 suites 6 💤
1 files 5 ❌
Results for commit 257d19b.
Annotations
github-actions / Test Results
givenProvidedTimeIsNewerThanPersistedLastReadForConversation_whenWorking_thenShouldTryToSendReceipts (com.wire.kalium.logic.feature.conversation.UpdateConversationReadDateUseCaseTest) failed
logic/build/outputs/androidTest-results/connected/debug/TEST-emulator-5554 - 12-_logic-.xml [took 0s]
Raw output
io.mockative.MixedArgumentMatcherException: Mixing values and matchers like `eq()` or `any()` in the same function call is not supported.
at io.mockative.Invocation$Function.toExpectation(Invocation.kt:27)
at io.mockative.Invocation$Function.toExpectation(Invocation.kt:14)
at io.mockative.EveryKt.coEvery(Every.kt:29)
at com.wire.kalium.logic.feature.conversation.UpdateConversationReadDateUseCaseTest$Arrangement.arrange(UpdateConversationReadDateUseCaseTest.kt:181)
at com.wire.kalium.logic.feature.conversation.UpdateConversationReadDateUseCaseTest$Companion.arrange(UpdateConversationReadDateUseCaseTest.kt:205)
at com.wire.kalium.logic.feature.conversation.UpdateConversationReadDateUseCaseTest$givenProvidedTimeIsNewerThanPersistedLastReadForConversation_whenWorking_thenShouldTryToSendReceipts$1.invokeSuspend(UpdateConversationReadDateUseCaseTest.kt:82)
at com.wire.kalium.logic.feature.conversation.UpdateConversationReadDateUseCaseTest$givenProvidedTimeIsNewerThanPersistedLastReadForConversation_whenWorking_thenShouldTryToSendReceipts$1.invoke(Unknown Source:8)
at com.wire.kalium.logic.feature.conversation.UpdateConversationReadDateUseCaseTest$givenProvidedTimeIsNewerThanPersistedLastReadForConversation_whenWorking_thenShouldTryToSendReceipts$1.invoke(Unknown Source:4)
at kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt$runTest$2$1$1.invokeSuspend(TestBuilders.kt:316)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
at kotlinx.coroutines.test.TestDispatcher.processEvent$kotlinx_coroutines_test(TestDispatcher.kt:24)
at kotlinx.coroutines.test.TestCoroutineScheduler.tryRunNextTaskUnless$kotlinx_coroutines_test(TestCoroutineScheduler.kt:99)
at kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt$runTest$2$1$workRunner$1.invokeSuspend(TestBuilders.kt:322)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:277)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:95)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:69)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source:1)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:48)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source:1)
at kotlinx.coroutines.test.TestBuildersJvmKt.createTestResult(TestBuildersJvm.kt:10)
at kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt.runTest-8Mi8wO0(TestBuilders.kt:310)
at kotlinx.coroutines.test.TestBuildersKt.runTest-8Mi8wO0(Unknown Source:1)
at kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt.runTest-8Mi8wO0(TestBuilders.kt:168)
at kotlinx.coroutines.test.TestBuildersKt.runTest-8Mi8wO0(Unknown Source:1)
at kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt.runTest-8Mi8wO0$default(TestBuilders.kt:160)
at kotlinx.coroutines.test.TestBuildersKt.runTest-8Mi8wO0$default(Unknown Source:1)
at com.wire.kalium.logic.feature.conversation.UpdateConversationReadDateUseCaseTest.givenProvidedTimeIsNewerThanPersistedLastReadForConversation_whenWorking_thenShouldTryToSendReceipts(UpdateConversationReadDateUseCaseTest.kt:78)
github-actions / Test Results
givenProvidedTimeIsNewerThanPersistedLastReadForConversation_whenWorking_thenShouldUpdateLastReadLocally (com.wire.kalium.logic.feature.conversation.UpdateConversationReadDateUseCaseTest) failed
logic/build/outputs/androidTest-results/connected/debug/TEST-emulator-5554 - 12-_logic-.xml [took 0s]
Raw output
io.mockative.MixedArgumentMatcherException: Mixing values and matchers like `eq()` or `any()` in the same function call is not supported.
at io.mockative.Invocation$Function.toExpectation(Invocation.kt:27)
at io.mockative.Invocation$Function.toExpectation(Invocation.kt:14)
at io.mockative.EveryKt.coEvery(Every.kt:29)
at com.wire.kalium.logic.feature.conversation.UpdateConversationReadDateUseCaseTest$Arrangement.arrange(UpdateConversationReadDateUseCaseTest.kt:181)
at com.wire.kalium.logic.feature.conversation.UpdateConversationReadDateUseCaseTest$Companion.arrange(UpdateConversationReadDateUseCaseTest.kt:205)
at com.wire.kalium.logic.feature.conversation.UpdateConversationReadDateUseCaseTest$givenProvidedTimeIsNewerThanPersistedLastReadForConversation_whenWorking_thenShouldUpdateLastReadLocally$1.invokeSuspend(UpdateConversationReadDateUseCaseTest.kt:100)
at com.wire.kalium.logic.feature.conversation.UpdateConversationReadDateUseCaseTest$givenProvidedTimeIsNewerThanPersistedLastReadForConversation_whenWorking_thenShouldUpdateLastReadLocally$1.invoke(Unknown Source:8)
at com.wire.kalium.logic.feature.conversation.UpdateConversationReadDateUseCaseTest$givenProvidedTimeIsNewerThanPersistedLastReadForConversation_whenWorking_thenShouldUpdateLastReadLocally$1.invoke(Unknown Source:4)
at kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt$runTest$2$1$1.invokeSuspend(TestBuilders.kt:316)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
at kotlinx.coroutines.test.TestDispatcher.processEvent$kotlinx_coroutines_test(TestDispatcher.kt:24)
at kotlinx.coroutines.test.TestCoroutineScheduler.tryRunNextTaskUnless$kotlinx_coroutines_test(TestCoroutineScheduler.kt:99)
at kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt$runTest$2$1$workRunner$1.invokeSuspend(TestBuilders.kt:322)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:277)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:95)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:69)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source:1)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:48)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source:1)
at kotlinx.coroutines.test.TestBuildersJvmKt.createTestResult(TestBuildersJvm.kt:10)
at kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt.runTest-8Mi8wO0(TestBuilders.kt:310)
at kotlinx.coroutines.test.TestBuildersKt.runTest-8Mi8wO0(Unknown Source:1)
at kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt.runTest-8Mi8wO0(TestBuilders.kt:168)
at kotlinx.coroutines.test.TestBuildersKt.runTest-8Mi8wO0(Unknown Source:1)
at kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt.runTest-8Mi8wO0$default(TestBuilders.kt:160)
at kotlinx.coroutines.test.TestBuildersKt.runTest-8Mi8wO0$default(Unknown Source:1)
at com.wire.kalium.logic.feature.conversation.UpdateConversationReadDateUseCaseTest.givenProvidedTimeIsNewerThanPersistedLastReadForConversation_whenWorking_thenShouldUpdateLastReadLocally(UpdateConversationReadDateUseCaseTest.kt:96)
github-actions / Test Results
givenProvidedTimeIsNewerThanPersistedLastReadForConversation_whenWorking_thenShouldUpdateLastReadForOtherSelfClients (com.wire.kalium.logic.feature.conversation.UpdateConversationReadDateUseCaseTest) failed
logic/build/outputs/androidTest-results/connected/debug/TEST-emulator-5554 - 12-_logic-.xml [took 0s]
Raw output
io.mockative.MixedArgumentMatcherException: Mixing values and matchers like `eq()` or `any()` in the same function call is not supported.
at io.mockative.Invocation$Function.toExpectation(Invocation.kt:27)
at io.mockative.Invocation$Function.toExpectation(Invocation.kt:14)
at io.mockative.EveryKt.coEvery(Every.kt:29)
at com.wire.kalium.logic.feature.conversation.UpdateConversationReadDateUseCaseTest$Arrangement.arrange(UpdateConversationReadDateUseCaseTest.kt:181)
at com.wire.kalium.logic.feature.conversation.UpdateConversationReadDateUseCaseTest$Companion.arrange(UpdateConversationReadDateUseCaseTest.kt:205)
at com.wire.kalium.logic.feature.conversation.UpdateConversationReadDateUseCaseTest$givenProvidedTimeIsNewerThanPersistedLastReadForConversation_whenWorking_thenShouldUpdateLastReadForOtherSelfClients$1.invokeSuspend(UpdateConversationReadDateUseCaseTest.kt:118)
at com.wire.kalium.logic.feature.conversation.UpdateConversationReadDateUseCaseTest$givenProvidedTimeIsNewerThanPersistedLastReadForConversation_whenWorking_thenShouldUpdateLastReadForOtherSelfClients$1.invoke(Unknown Source:8)
at com.wire.kalium.logic.feature.conversation.UpdateConversationReadDateUseCaseTest$givenProvidedTimeIsNewerThanPersistedLastReadForConversation_whenWorking_thenShouldUpdateLastReadForOtherSelfClients$1.invoke(Unknown Source:4)
at kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt$runTest$2$1$1.invokeSuspend(TestBuilders.kt:316)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
at kotlinx.coroutines.test.TestDispatcher.processEvent$kotlinx_coroutines_test(TestDispatcher.kt:24)
at kotlinx.coroutines.test.TestCoroutineScheduler.tryRunNextTaskUnless$kotlinx_coroutines_test(TestCoroutineScheduler.kt:99)
at kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt$runTest$2$1$workRunner$1.invokeSuspend(TestBuilders.kt:322)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:277)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:95)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:69)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source:1)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:48)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source:1)
at kotlinx.coroutines.test.TestBuildersJvmKt.createTestResult(TestBuildersJvm.kt:10)
at kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt.runTest-8Mi8wO0(TestBuilders.kt:310)
at kotlinx.coroutines.test.TestBuildersKt.runTest-8Mi8wO0(Unknown Source:1)
at kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt.runTest-8Mi8wO0(TestBuilders.kt:168)
at kotlinx.coroutines.test.TestBuildersKt.runTest-8Mi8wO0(Unknown Source:1)
at kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt.runTest-8Mi8wO0$default(TestBuilders.kt:160)
at kotlinx.coroutines.test.TestBuildersKt.runTest-8Mi8wO0$default(Unknown Source:1)
at com.wire.kalium.logic.feature.conversation.UpdateConversationReadDateUseCaseTest.givenProvidedTimeIsNewerThanPersistedLastReadForConversation_whenWorking_thenShouldUpdateLastReadForOtherSelfClients(UpdateConversationReadDateUseCaseTest.kt:114)
github-actions / Test Results
givenAnyCall_whenInvoking_thenShouldEnqueueWork (com.wire.kalium.logic.feature.conversation.UpdateConversationReadDateUseCaseTest) failed
logic/build/outputs/androidTest-results/connected/debug/TEST-emulator-5554 - 12-_logic-.xml [took 0s]
Raw output
io.mockative.MixedArgumentMatcherException: Mixing values and matchers like `eq()` or `any()` in the same function call is not supported.
at io.mockative.Invocation$Function.toExpectation(Invocation.kt:27)
at io.mockative.Invocation$Function.toExpectation(Invocation.kt:14)
at io.mockative.EveryKt.coEvery(Every.kt:29)
at com.wire.kalium.logic.feature.conversation.UpdateConversationReadDateUseCaseTest$Arrangement.arrange(UpdateConversationReadDateUseCaseTest.kt:181)
at com.wire.kalium.logic.feature.conversation.UpdateConversationReadDateUseCaseTest$Companion.arrange(UpdateConversationReadDateUseCaseTest.kt:205)
at com.wire.kalium.logic.feature.conversation.UpdateConversationReadDateUseCaseTest$givenAnyCall_whenInvoking_thenShouldEnqueueWork$1.invokeSuspend(UpdateConversationReadDateUseCaseTest.kt:151)
at com.wire.kalium.logic.feature.conversation.UpdateConversationReadDateUseCaseTest$givenAnyCall_whenInvoking_thenShouldEnqueueWork$1.invoke(Unknown Source:8)
at com.wire.kalium.logic.feature.conversation.UpdateConversationReadDateUseCaseTest$givenAnyCall_whenInvoking_thenShouldEnqueueWork$1.invoke(Unknown Source:4)
at kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt$runTest$2$1$1.invokeSuspend(TestBuilders.kt:316)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
at kotlinx.coroutines.test.TestDispatcher.processEvent$kotlinx_coroutines_test(TestDispatcher.kt:24)
at kotlinx.coroutines.test.TestCoroutineScheduler.tryRunNextTaskUnless$kotlinx_coroutines_test(TestCoroutineScheduler.kt:99)
at kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt$runTest$2$1$workRunner$1.invokeSuspend(TestBuilders.kt:322)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:277)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:95)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:69)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source:1)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:48)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source:1)
at kotlinx.coroutines.test.TestBuildersJvmKt.createTestResult(TestBuildersJvm.kt:10)
at kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt.runTest-8Mi8wO0(TestBuilders.kt:310)
at kotlinx.coroutines.test.TestBuildersKt.runTest-8Mi8wO0(Unknown Source:1)
at kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt.runTest-8Mi8wO0(TestBuilders.kt:168)
at kotlinx.coroutines.test.TestBuildersKt.runTest-8Mi8wO0(Unknown Source:1)
at kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt.runTest-8Mi8wO0$default(TestBuilders.kt:160)
at kotlinx.coroutines.test.TestBuildersKt.runTest-8Mi8wO0$default(Unknown Source:1)
at com.wire.kalium.logic.feature.conversation.UpdateConversationReadDateUseCaseTest.givenAnyCall_whenInvoking_thenShouldEnqueueWork(UpdateConversationReadDateUseCaseTest.kt:145)
github-actions / Test Results
givenCurrentStoredLastReadDateIsNewerThanEnqueued_whenWorking_thenShouldNotTryToDoAnyWork (com.wire.kalium.logic.feature.conversation.UpdateConversationReadDateUseCaseTest) failed
logic/build/outputs/androidTest-results/connected/debug/TEST-emulator-5554 - 12-_logic-.xml [took 0s]
Raw output
io.mockative.MixedArgumentMatcherException: Mixing values and matchers like `eq()` or `any()` in the same function call is not supported.
at io.mockative.Invocation$Function.toExpectation(Invocation.kt:27)
at io.mockative.Invocation$Function.toExpectation(Invocation.kt:14)
at io.mockative.EveryKt.coEvery(Every.kt:29)
at com.wire.kalium.logic.feature.conversation.UpdateConversationReadDateUseCaseTest$Arrangement.arrange(UpdateConversationReadDateUseCaseTest.kt:181)
at com.wire.kalium.logic.feature.conversation.UpdateConversationReadDateUseCaseTest$Companion.arrange(UpdateConversationReadDateUseCaseTest.kt:205)
at com.wire.kalium.logic.feature.conversation.UpdateConversationReadDateUseCaseTest$givenCurrentStoredLastReadDateIsNewerThanEnqueued_whenWorking_thenShouldNotTryToDoAnyWork$1.invokeSuspend(UpdateConversationReadDateUseCaseTest.kt:58)
at com.wire.kalium.logic.feature.conversation.UpdateConversationReadDateUseCaseTest$givenCurrentStoredLastReadDateIsNewerThanEnqueued_whenWorking_thenShouldNotTryToDoAnyWork$1.invoke(Unknown Source:8)
at com.wire.kalium.logic.feature.conversation.UpdateConversationReadDateUseCaseTest$givenCurrentStoredLastReadDateIsNewerThanEnqueued_whenWorking_thenShouldNotTryToDoAnyWork$1.invoke(Unknown Source:4)
at kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt$runTest$2$1$1.invokeSuspend(TestBuilders.kt:316)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
at kotlinx.coroutines.test.TestDispatcher.processEvent$kotlinx_coroutines_test(TestDispatcher.kt:24)
at kotlinx.coroutines.test.TestCoroutineScheduler.tryRunNextTaskUnless$kotlinx_coroutines_test(TestCoroutineScheduler.kt:99)
at kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt$runTest$2$1$workRunner$1.invokeSuspend(TestBuilders.kt:322)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:277)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:95)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:69)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source:1)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:48)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source:1)
at kotlinx.coroutines.test.TestBuildersJvmKt.createTestResult(TestBuildersJvm.kt:10)
at kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt.runTest-8Mi8wO0(TestBuilders.kt:310)
at kotlinx.coroutines.test.TestBuildersKt.runTest-8Mi8wO0(Unknown Source:1)
at kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt.runTest-8Mi8wO0(TestBuilders.kt:168)
at kotlinx.coroutines.test.TestBuildersKt.runTest-8Mi8wO0(Unknown Source:1)
at kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt.runTest-8Mi8wO0$default(TestBuilders.kt:160)
at kotlinx.coroutines.test.TestBuildersKt.runTest-8Mi8wO0$default(Unknown Source:1)
at com.wire.kalium.logic.feature.conversation.UpdateConversationReadDateUseCaseTest.givenCurrentStoredLastReadDateIsNewerThanEnqueued_whenWorking_thenShouldNotTryToDoAnyWork(UpdateConversationReadDateUseCaseTest.kt:55)