Loading startop/iorap/tests/src/com/google/android/startop/iorap/IIorapIntegrationTest.kt +5 −0 Original line number Diff line number Diff line Loading @@ -16,6 +16,7 @@ package com.google.android.startop.iorap import android.net.Uri import android.os.ServiceManager import androidx.test.filters.FlakyTest import androidx.test.filters.MediumTest import org.junit.Test import org.mockito.Mockito.argThat Loading @@ -26,6 +27,7 @@ import org.mockito.Mockito.timeout // @Ignore("Test is disabled until iorapd is added to init and there's selinux policies for it") @MediumTest @FlakyTest(bugId = 149098310) // Failing on cuttlefish with SecurityException. class IIorapIntegrationTest { /** * @throws ServiceManager.ServiceNotFoundException if iorapd service could not be found Loading Loading @@ -55,6 +57,9 @@ class IIorapIntegrationTest { private fun testAnyMethod(func: (RequestId) -> Unit) { val taskListener = spy(DummyTaskListener())!! // FIXME: b/149098310 return try { iorapService.setTaskListener(taskListener) // Note: Binder guarantees total order for oneway messages sent to the same binder Loading Loading
startop/iorap/tests/src/com/google/android/startop/iorap/IIorapIntegrationTest.kt +5 −0 Original line number Diff line number Diff line Loading @@ -16,6 +16,7 @@ package com.google.android.startop.iorap import android.net.Uri import android.os.ServiceManager import androidx.test.filters.FlakyTest import androidx.test.filters.MediumTest import org.junit.Test import org.mockito.Mockito.argThat Loading @@ -26,6 +27,7 @@ import org.mockito.Mockito.timeout // @Ignore("Test is disabled until iorapd is added to init and there's selinux policies for it") @MediumTest @FlakyTest(bugId = 149098310) // Failing on cuttlefish with SecurityException. class IIorapIntegrationTest { /** * @throws ServiceManager.ServiceNotFoundException if iorapd service could not be found Loading Loading @@ -55,6 +57,9 @@ class IIorapIntegrationTest { private fun testAnyMethod(func: (RequestId) -> Unit) { val taskListener = spy(DummyTaskListener())!! // FIXME: b/149098310 return try { iorapService.setTaskListener(taskListener) // Note: Binder guarantees total order for oneway messages sent to the same binder Loading