Disable flakiness test
Disable testDatasetAuthTwoFieldsUserCancelsFirstAttempt from the presubmit
test suite.
Bug: 185876679
Test: NA
Change-Id: I6f06376a910657a3924a9f140293adeab841e0f0
diff --git a/tests/autofillservice/src/android/autofillservice/cts/inline/InlineAuthenticationTest.java b/tests/autofillservice/src/android/autofillservice/cts/inline/InlineAuthenticationTest.java
index 1ce3a8f..bd416b9 100644
--- a/tests/autofillservice/src/android/autofillservice/cts/inline/InlineAuthenticationTest.java
+++ b/tests/autofillservice/src/android/autofillservice/cts/inline/InlineAuthenticationTest.java
@@ -40,6 +40,7 @@
import android.autofillservice.cts.testcore.UiBot;
import android.content.IntentSender;
import android.platform.test.annotations.AppModeFull;
+import android.platform.test.annotations.FlakyTest;
import android.platform.test.annotations.Presubmit;
import android.view.inputmethod.InlineSuggestionsRequest;
@@ -177,6 +178,7 @@
}
@Test
+ @FlakyTest(bugId = 185876679)
@AppModeFull(reason = "testDatasetAuthTwoFields() is enough")
public void testDatasetAuthTwoFieldsUserCancelsFirstAttempt() throws Exception {
datasetAuthTwoFields(/* cancelFirstAttempt */ true);