GitHub Actions / Unit Test Results
failed
Sep 30, 2024 in 0s
1 fail, 21 skipped, 5 788 pass in 37m 57s
Annotations
Check warning on line 0 in com.google.firebase.appdistribution.impl.NewReleaseFetcherTest
github-actions / Unit Test Results
1 out of 4 runs failed: checkForNewRelease_whenCalledMultipleTimes_onlyFetchesReleasesOnce (com.google.firebase.appdistribution.impl.NewReleaseFetcherTest)
artifacts/unit-test-result-/firebase-appdistribution/build/test-results/testReleaseUnitTest/TEST-com.google.firebase.appdistribution.impl.NewReleaseFetcherTest.xml
Raw output
org.mockito.exceptions.verification.TooManyActualInvocations:
mockFirebaseAppDistributionTesterApiClient.fetchNewRelease();
Wanted 1 time:
-> at com.google.firebase.appdistribution.impl.FirebaseAppDistributionTesterApiClient.fetchNewRelease(FirebaseAppDistributionTesterApiClient.java:90)
But was 2 times:
-> at com.google.firebase.appdistribution.impl.NewReleaseFetcher.lambda$checkForNewRelease$2(NewReleaseFetcher.java:71)
-> at com.google.firebase.appdistribution.impl.NewReleaseFetcher.lambda$checkForNewRelease$2(NewReleaseFetcher.java:71)
at com.google.firebase.appdistribution.impl.FirebaseAppDistributionTesterApiClient.fetchNewRelease(FirebaseAppDistributionTesterApiClient.java:90)
at com.google.firebase.appdistribution.impl.NewReleaseFetcherTest.checkForNewRelease_whenCalledMultipleTimes_onlyFetchesReleasesOnce(NewReleaseFetcherTest.java:119)
at java.base@17.0.12/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base@17.0.12/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base@17.0.12/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base@17.0.12/java.lang.reflect.Method.invoke(Method.java:569)
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.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at app//org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at app//org.robolectric.RobolectricTestRunner$HelperTestRunner$1.evaluate(RobolectricTestRunner.java:489)
at app//org.robolectric.internal.SandboxTestRunner$2.lambda$evaluate$2(SandboxTestRunner.java:290)
at app//org.robolectric.internal.bytecode.Sandbox.lambda$runOnMainThread$0(Sandbox.java:104)
at java.base@17.0.12/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base@17.0.12/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base@17.0.12/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base@17.0.12/java.lang.Thread.run(Thread.java:840)
Loading