summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVarun Shah <varunshah@google.com>2021-07-12 15:09:38 -0700
committerVarun Shah <varunshah@google.com>2021-08-31 17:23:54 +0000
commitac36f2e89bb979a1e83a0ff3860200d122e6428e (patch)
tree06c49bef362d839a8ea4085bb43c6a58bf7ca1ab
parent0d32a7b9016ede4435868c1c172190553d70400b (diff)
downloadcts-ac36f2e89bb979a1e83a0ff3860200d122e6428e.tar.gz
[DO NOT MERGE] Fix CtsSyncAccountAccessOtherCertTestCases failure.
Update "Permission Requested" regex to match updated text and potentially future text changes. Bug: 197538110 Test: atest com.android.cts.content.CtsSyncAccountAccessOtherCertTestCases#testAccountAccess_otherCertAsAuthenticatorCanNotSeeAccount Change-Id: Ic03796fd018512eeecabaf65306210be960dc83b (cherry picked from commit 36aede4e15ccbabb15293d6ac9e3f000d61ec03a)
-rw-r--r--tests/tests/content/CtsSyncAccountAccessOtherCertTests/src/com/android/cts/content/CtsSyncAccountAccessOtherCertTestCases.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tests/content/CtsSyncAccountAccessOtherCertTests/src/com/android/cts/content/CtsSyncAccountAccessOtherCertTestCases.java b/tests/tests/content/CtsSyncAccountAccessOtherCertTests/src/com/android/cts/content/CtsSyncAccountAccessOtherCertTestCases.java
index de52e738c0a..a17a42ebc8a 100644
--- a/tests/tests/content/CtsSyncAccountAccessOtherCertTests/src/com/android/cts/content/CtsSyncAccountAccessOtherCertTestCases.java
+++ b/tests/tests/content/CtsSyncAccountAccessOtherCertTests/src/com/android/cts/content/CtsSyncAccountAccessOtherCertTestCases.java
@@ -70,7 +70,7 @@ public class CtsSyncAccountAccessOtherCertTestCases {
CtsSyncAccountAccessOtherCertTestCases.class.getSimpleName();
private static final Pattern PERMISSION_REQUESTED = Pattern.compile(
- "Permission Requested|Permission requested");
+ "Permission Requested.*|Permission requested.*");
private static final Pattern ALLOW_SYNC = Pattern.compile("ALLOW|Allow");
private static final String OPEN_NOTIFICATION_WATCH = "Open";