summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTyler Gunn <tgunn@google.com>2024-04-29 16:41:01 +0000
committerAndroid Build Cherrypicker Worker <android-build-cherrypicker-worker@google.com>2024-04-29 16:41:01 +0000
commitf6ad2997d42c9ec0c4a86495133499eddcdefbc5 (patch)
tree9cb99e7de4c10e27b540b1dbf012d04fabe04d1a
parent47542344777d800cfbe2f8a256c57ee582c76822 (diff)
downloadcts-f6ad2997d42c9ec0c4a86495133499eddcdefbc5.tar.gz
Mark tests as flaky.
These tests have been exceeding the flakiness criteria for presubmit. Fixes: b/321205341 Test: This is a test change (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:5ff0b6ee5a8083c6bfd84270b06bb78742810d76) Merged-In: I80757155251b75f2c0ab2de4d3c113e92960003c Change-Id: I80757155251b75f2c0ab2de4d3c113e92960003c
-rw-r--r--tests/tests/telecom/src/android/telecom/cts/NonUiInCallServiceTest.java2
-rw-r--r--tests/tests/telecom/src/android/telecom/cts/TransactionalApisTest.java2
2 files changed, 4 insertions, 0 deletions
diff --git a/tests/tests/telecom/src/android/telecom/cts/NonUiInCallServiceTest.java b/tests/tests/telecom/src/android/telecom/cts/NonUiInCallServiceTest.java
index d4096aa5555..11780a13ff4 100644
--- a/tests/tests/telecom/src/android/telecom/cts/NonUiInCallServiceTest.java
+++ b/tests/tests/telecom/src/android/telecom/cts/NonUiInCallServiceTest.java
@@ -19,6 +19,7 @@ import android.util.Log;
import android.util.Pair;
import androidx.test.InstrumentationRegistry;
+import androidx.test.filters.FlakyTest;
import java.util.Arrays;
@@ -99,6 +100,7 @@ public class NonUiInCallServiceTest extends BaseTelecomTestWithMockServices {
* enablement.
* @throws Exception
*/
+ @FlakyTest
public void testMidCallComponentEnablementWithNoneAvailableAtStart() throws Exception {
if (!mShouldTestTelecom) {
return;
diff --git a/tests/tests/telecom/src/android/telecom/cts/TransactionalApisTest.java b/tests/tests/telecom/src/android/telecom/cts/TransactionalApisTest.java
index 356552230c8..92581c501ab 100644
--- a/tests/tests/telecom/src/android/telecom/cts/TransactionalApisTest.java
+++ b/tests/tests/telecom/src/android/telecom/cts/TransactionalApisTest.java
@@ -49,6 +49,7 @@ import android.util.Log;
import android.util.Pair;
import androidx.annotation.NonNull;
+import androidx.test.filters.FlakyTest;
import com.android.compatibility.common.util.ApiTest;
import com.android.compatibility.common.util.CddTest;
@@ -796,6 +797,7 @@ public class TransactionalApisTest extends BaseTelecomTestWithMockServices {
@ApiTest(apis = {"android.telecom.TelecomManager#addCall",
"android.telecom.CallControl#disconnect",
"android.telecom.CallEventCallback#onCallEndpointChanged"})
+ @FlakyTest
public void testOnChangedCallEndpoint() {
if (!mShouldTestTelecom) {
return;