commit | 77c6b49c2f5aa8191ee38255e87ee45ef2b786cf | [log] [tgz] |
---|---|---|
author | yinwei.sun1 <yinwei.sun1@unisoc.com> | Thu Oct 19 16:25:44 2023 +0800 |
committer | Yinwei Sun1 <yinwei.sun1@unisoc.corp-partner.google.com> | Thu Oct 19 10:38:59 2023 +0000 |
tree | 1ffdf7e91909d7255b0a21b63337baed87314632 | |
parent | 9a034b4ad952ecd88cc67849f00e720aaeaa0614 [diff] |
Increase polling timeout to 25s for testStartExposed Bug: 306296609 Test: atest CtsAppSecurityHostTestCases Change-Id: I13b3b10e3007fd182cad0c7844756b9a1131f501
diff --git a/hostsidetests/appsecurity/test-apps/EphemeralTestApp/EphemeralApp1/src/com/android/cts/ephemeralapp1/ClientTest.java b/hostsidetests/appsecurity/test-apps/EphemeralTestApp/EphemeralApp1/src/com/android/cts/ephemeralapp1/ClientTest.java index 04603b3..ec265ef 100644 --- a/hostsidetests/appsecurity/test-apps/EphemeralTestApp/EphemeralApp1/src/com/android/cts/ephemeralapp1/ClientTest.java +++ b/hostsidetests/appsecurity/test-apps/EphemeralTestApp/EphemeralApp1/src/com/android/cts/ephemeralapp1/ClientTest.java
@@ -1468,12 +1468,12 @@ private TestResult getResult() { final TestResult result; try { - result = mResultQueue.poll(5, TimeUnit.SECONDS); + result = mResultQueue.poll(25, TimeUnit.SECONDS); } catch (InterruptedException e) { throw new RuntimeException(e); } if (result == null) { - throw new IllegalStateException("Activity didn't receive a Result in 5 seconds"); + throw new IllegalStateException("Activity didn't receive a Result in 25 seconds"); } return result; }