fix robolectric version #68
GitHub Actions / Test Results
failed
Aug 7, 2024 in 0s
0 passed, 23 failed and 0 skipped
❌ app/build/test-results/testDebugUnitTest/TEST-com.segment.analytics.android.integrations.appsflyer.AppsflyerIntegrationConversionListenerTests.xml
11 tests were completed in 32ms with 0 passed, 11 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.segment.analytics.android.integrations.appsflyer.AppsflyerIntegrationConversionListenerTests | 11❌ | 32ms |
❌ com.segment.analytics.android.integrations.appsflyer.AppsflyerIntegrationConversionListenerTests
❌ testAppsflyerIntegration_ConversionListener_getContext_happyFlow
java.lang.UnsupportedOperationException: Failed to create a Robolectric sandbox: Android SDK 34 requires Java 17 (have Java 11)
❌ testAppsflyerIntegration_ConversionListener_setFlag_happyFlow
java.lang.UnsupportedOperationException: Failed to create a Robolectric sandbox: Android SDK 34 requires Java 17 (have Java 11)
❌ testAppsflyerIntegration_ConversionListener_trackInstallAttributed_negativeFlow
java.lang.UnsupportedOperationException: Failed to create a Robolectric sandbox: Android SDK 34 requires Java 17 (have Java 11)
❌ testAppsflyerIntegration_ConversionListener_trackInstallAttributed_happyFlow
java.lang.UnsupportedOperationException: Failed to create a Robolectric sandbox: Android SDK 34 requires Java 17 (have Java 11)
❌ testAppsflyerIntegration_ConversionListener_ctor_happyFlow
java.lang.UnsupportedOperationException: Failed to create a Robolectric sandbox: Android SDK 34 requires Java 17 (have Java 11)
❌ testAppsflyerIntegration_ConversionListener_onConversionDataSuccess_happyFlow
java.lang.UnsupportedOperationException: Failed to create a Robolectric sandbox: Android SDK 34 requires Java 17 (have Java 11)
❌ testAppsflyerIntegration_ConversionListener_getFlag_happyFlow
java.lang.UnsupportedOperationException: Failed to create a Robolectric sandbox: Android SDK 34 requires Java 17 (have Java 11)
❌ testAppsflyerIntegration_ConversionListener_ctor_nullFlow
java.lang.UnsupportedOperationException: Failed to create a Robolectric sandbox: Android SDK 34 requires Java 17 (have Java 11)
❌ testAppsflyerIntegration_ConversionListener_onAttributionFailure_nullFlow
java.lang.UnsupportedOperationException: Failed to create a Robolectric sandbox: Android SDK 34 requires Java 17 (have Java 11)
❌ testAppsflyerIntegration_ConversionListener_getContext_nullFlow
java.lang.UnsupportedOperationException: Failed to create a Robolectric sandbox: Android SDK 34 requires Java 17 (have Java 11)
❌ testAppsflyerIntegration_ConversionListener_onAttributionFailure_happyFlow
java.lang.UnsupportedOperationException: Failed to create a Robolectric sandbox: Android SDK 34 requires Java 17 (have Java 11)
❌ app/build/test-results/testDebugUnitTest/TEST-com.segment.analytics.android.integrations.appsflyer.AppsflyerIntegrationTests.xml
12 tests were completed in 46ms with 0 passed, 12 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.segment.analytics.android.integrations.appsflyer.AppsflyerIntegrationTests | 12❌ | 46ms |
❌ com.segment.analytics.android.integrations.appsflyer.AppsflyerIntegrationTests
❌ testAppsflyerIntegration_identify_happyFlow
java.lang.UnsupportedOperationException: Failed to create a Robolectric sandbox: Android SDK 34 requires Java 17 (have Java 11)
❌ testAppsflyerIntegration_getUnderlyingInstance_happyFlow
java.lang.UnsupportedOperationException: Failed to create a Robolectric sandbox: Android SDK 34 requires Java 17 (have Java 11)
❌ testAppsflyerIntegration_FACTORYCreate_happyFlow
java.lang.UnsupportedOperationException: Failed to create a Robolectric sandbox: Android SDK 34 requires Java 17 (have Java 11)
❌ testAppsflyerIntegration_updateEndUserAttributes_happyflow
java.lang.UnsupportedOperationException: Failed to create a Robolectric sandbox: Android SDK 34 requires Java 17 (have Java 11)
❌ testAppsflyerIntegration_FACTORYCreate_nilFlow
java.lang.UnsupportedOperationException: Failed to create a Robolectric sandbox: Android SDK 34 requires Java 17 (have Java 11)
❌ testAppsflyerIntegration_startAppsFlyer_happyFlow
java.lang.UnsupportedOperationException: Failed to create a Robolectric sandbox: Android SDK 34 requires Java 17 (have Java 11)
❌ testAppsflyerIntegration_track_happyflow
java.lang.UnsupportedOperationException: Failed to create a Robolectric sandbox: Android SDK 34 requires Java 17 (have Java 11)
❌ testAppsflyerIntegration_identify_nilflow
java.lang.UnsupportedOperationException: Failed to create a Robolectric sandbox: Android SDK 34 requires Java 17 (have Java 11)
❌ testAppsflyerIntegration_FACTORYKEY_happyFlow
java.lang.UnsupportedOperationException: Failed to create a Robolectric sandbox: Android SDK 34 requires Java 17 (have Java 11)
❌ testAppsflyerIntegration_setManualMode_happyFlow
java.lang.UnsupportedOperationException: Failed to create a Robolectric sandbox: Android SDK 34 requires Java 17 (have Java 11)
❌ testAppsflyerIntegration_ctor_happyFlow
java.lang.UnsupportedOperationException: Failed to create a Robolectric sandbox: Android SDK 34 requires Java 17 (have Java 11)
❌ testAppsflyerIntegration_startAppsFlyer_nilFlow
java.lang.UnsupportedOperationException: Failed to create a Robolectric sandbox: Android SDK 34 requires Java 17 (have Java 11)
Annotations
github-actions / Test Results
com.segment.analytics.android.integrations.appsflyer.AppsflyerIntegrationConversionListenerTests ► testAppsflyerIntegration_ConversionListener_getContext_happyFlow
Failed test found in:
app/build/test-results/testDebugUnitTest/TEST-com.segment.analytics.android.integrations.appsflyer.AppsflyerIntegrationConversionListenerTests.xml
app/build/test-results/testDebugUnitTest/TEST-com.segment.analytics.android.integrations.appsflyer.AppsflyerIntegrationConversionListenerTests.xml
app/build/test-results/testDebugUnitTest/TEST-com.segment.analytics.android.integrations.appsflyer.AppsflyerIntegrationConversionListenerTests.xml
app/build/test-results/testDebugUnitTest/TEST-com.segment.analytics.android.integrations.appsflyer.AppsflyerIntegrationConversionListenerTests.xml
app/build/test-results/testDebugUnitTest/TEST-com.segment.analytics.android.integrations.appsflyer.AppsflyerIntegrationConversionListenerTests.xml
app/build/test-results/testDebugUnitTest/TEST-com.segment.analytics.android.integrations.appsflyer.AppsflyerIntegrationConversionListenerTests.xml
app/build/test-results/testDebugUnitTest/TEST-com.segment.analytics.android.integrations.appsflyer.AppsflyerIntegrationConversionListenerTests.xml
app/build/test-results/testDebugUnitTest/TEST-com.segment.analytics.android.integrations.appsflyer.AppsflyerIntegrationConversionListenerTests.xml
app/build/test-results/testDebugUnitTest/TEST-com.segment.analytics.android.integrations.appsflyer.AppsflyerIntegrationConversionListenerTests.xml
app/build/test-results/testDebugUnitTest/TEST-com.segment.analytics.android.integrations.appsflyer.AppsflyerIntegrationConversionListenerTests.xml
app/build/test-results/testDebugUnitTest/TEST-com.segment.analytics.android.integrations.appsflyer.AppsflyerIntegrationConversionListenerTests.xml
Error:
java.lang.UnsupportedOperationException: Failed to create a Robolectric sandbox: Android SDK 34 requires Java 17 (have Java 11)
Raw output
java.lang.UnsupportedOperationException: Failed to create a Robolectric sandbox: Android SDK 34 requires Java 17 (have Java 11)
at org.robolectric.plugins.DefaultSdkProvider$DefaultSdk.verifySupportedSdk(DefaultSdkProvider.java:172)
at org.robolectric.RobolectricTestRunner.getSandbox(RobolectricTestRunner.java:298)
at org.robolectric.RobolectricTestRunner.getSandbox(RobolectricTestRunner.java:64)
at org.robolectric.internal.SandboxTestRunner$2.evaluate(SandboxTestRunner.java:244)
at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
at org.robolectric.internal.SandboxTestRunner$1.evaluate(SandboxTestRunner.java:101)
at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
at androidx.test.ext.junit.runners.AndroidJUnit4.run(AndroidJUnit4.java:162)
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:57)
at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:39)
at org.gradle.api.internal.tasks.testing.junit.AbstractJUnitTestClassProcessor.processTestClass(AbstractJUnitTestClassProcessor.java:62)
at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:52)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
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 com.sun.proxy.$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 worker.org.gradle.process.internal.worker.GradleWorkerMain.run(GradleWorkerMain.java:69)
at worker.org.gradle.process.internal.worker.GradleWorkerMain.main(GradleWorkerMain.java:74)
github-actions / Test Results
com.segment.analytics.android.integrations.appsflyer.AppsflyerIntegrationTests ► testAppsflyerIntegration_identify_happyFlow
Failed test found in:
app/build/test-results/testDebugUnitTest/TEST-com.segment.analytics.android.integrations.appsflyer.AppsflyerIntegrationTests.xml
app/build/test-results/testDebugUnitTest/TEST-com.segment.analytics.android.integrations.appsflyer.AppsflyerIntegrationTests.xml
app/build/test-results/testDebugUnitTest/TEST-com.segment.analytics.android.integrations.appsflyer.AppsflyerIntegrationTests.xml
app/build/test-results/testDebugUnitTest/TEST-com.segment.analytics.android.integrations.appsflyer.AppsflyerIntegrationTests.xml
app/build/test-results/testDebugUnitTest/TEST-com.segment.analytics.android.integrations.appsflyer.AppsflyerIntegrationTests.xml
app/build/test-results/testDebugUnitTest/TEST-com.segment.analytics.android.integrations.appsflyer.AppsflyerIntegrationTests.xml
app/build/test-results/testDebugUnitTest/TEST-com.segment.analytics.android.integrations.appsflyer.AppsflyerIntegrationTests.xml
app/build/test-results/testDebugUnitTest/TEST-com.segment.analytics.android.integrations.appsflyer.AppsflyerIntegrationTests.xml
app/build/test-results/testDebugUnitTest/TEST-com.segment.analytics.android.integrations.appsflyer.AppsflyerIntegrationTests.xml
app/build/test-results/testDebugUnitTest/TEST-com.segment.analytics.android.integrations.appsflyer.AppsflyerIntegrationTests.xml
app/build/test-results/testDebugUnitTest/TEST-com.segment.analytics.android.integrations.appsflyer.AppsflyerIntegrationTests.xml
app/build/test-results/testDebugUnitTest/TEST-com.segment.analytics.android.integrations.appsflyer.AppsflyerIntegrationTests.xml
Error:
java.lang.UnsupportedOperationException: Failed to create a Robolectric sandbox: Android SDK 34 requires Java 17 (have Java 11)
Raw output
java.lang.UnsupportedOperationException: Failed to create a Robolectric sandbox: Android SDK 34 requires Java 17 (have Java 11)
at org.robolectric.plugins.DefaultSdkProvider$DefaultSdk.verifySupportedSdk(DefaultSdkProvider.java:172)
at org.robolectric.RobolectricTestRunner.getSandbox(RobolectricTestRunner.java:298)
at org.robolectric.RobolectricTestRunner.getSandbox(RobolectricTestRunner.java:64)
at org.robolectric.internal.SandboxTestRunner$2.evaluate(SandboxTestRunner.java:244)
at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
at org.robolectric.internal.SandboxTestRunner$1.evaluate(SandboxTestRunner.java:101)
at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
at androidx.test.ext.junit.runners.AndroidJUnit4.run(AndroidJUnit4.java:162)
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:57)
at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:39)
at org.gradle.api.internal.tasks.testing.junit.AbstractJUnitTestClassProcessor.processTestClass(AbstractJUnitTestClassProcessor.java:62)
at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:52)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
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 com.sun.proxy.$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 worker.org.gradle.process.internal.worker.GradleWorkerMain.run(GradleWorkerMain.java:69)
at worker.org.gradle.process.internal.worker.GradleWorkerMain.main(GradleWorkerMain.java:74)
Loading