summaryrefslogtreecommitdiff
path: root/startop/iorap
diff options
context:
space:
mode:
authorIgor Murashkin <iam@google.com>2020-02-07 10:18:51 -0800
committerIgor Murashkin <iam@google.com>2020-02-11 15:29:33 -0800
commit62416783e0aeee7ae1bc9bcac8db5a50f2464696 (patch)
treee0a0fb7af053fdb0ae9dbcfc546b81de86c4f3c1 /startop/iorap
parentd5a6dc3193edd5da00057560219e276658d2d9ae (diff)
iorap: Disable iorap integration test temporarily.
It is broken because selinux is broken in cf_x86, see bug b/149098310. Disable it until the above bug is resolved or we come up with a workaround. Bug: 148765584 Change-Id: If0ac0f6dd04b1aad693405643f133361ad65f4fc
Diffstat (limited to 'startop/iorap')
-rw-r--r--startop/iorap/tests/src/com/google/android/startop/iorap/IIorapIntegrationTest.kt5
1 files changed, 5 insertions, 0 deletions
diff --git a/startop/iorap/tests/src/com/google/android/startop/iorap/IIorapIntegrationTest.kt b/startop/iorap/tests/src/com/google/android/startop/iorap/IIorapIntegrationTest.kt
index 460add897f2f..18c249136d05 100644
--- a/startop/iorap/tests/src/com/google/android/startop/iorap/IIorapIntegrationTest.kt
+++ b/startop/iorap/tests/src/com/google/android/startop/iorap/IIorapIntegrationTest.kt
@@ -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
@@ -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
@@ -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