diff options
author | Mythri Alle <mythria@google.com> | 2024-05-09 14:28:55 +0000 |
---|---|---|
committer | Mythri Alle <mythria@google.com> | 2024-05-09 14:28:55 +0000 |
commit | 2af2855af6d1538da95d57c0182308ef301e55d8 (patch) | |
tree | 16cd402a8ca0046230c6da681f866e7534464834 /hostsidetests | |
parent | eafac4ad0b5639a9bd1ddbfce1af42c9e5ecbedb (diff) | |
download | cts-2af2855af6d1538da95d57c0182308ef301e55d8.tar.gz |
Increase timeout for JvmtiHostTest990 test
On some devices this is known to take a long time. Increasing the
timeout as it started failing with the current timeout. Earlier it used
to run close to the timeout and now it is a bit over the current
timeout. So increasing the timeout as a temporary fix. We need to
investigate on why the test is taking so long.
Bug: 336711414
Test: cts -m CtsJvmtiRunTest990HostTestCases.android.jvmti.cts.JvmtiHostTest990
Change-Id: I48f370c350e2c0fb662ea302b42d66461c124353
Diffstat (limited to 'hostsidetests')
-rw-r--r-- | hostsidetests/jvmti/base/host/src/android/jvmti/cts/JvmtiHostTest.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hostsidetests/jvmti/base/host/src/android/jvmti/cts/JvmtiHostTest.java b/hostsidetests/jvmti/base/host/src/android/jvmti/cts/JvmtiHostTest.java index cecb6ed547a..881ab719a0d 100644 --- a/hostsidetests/jvmti/base/host/src/android/jvmti/cts/JvmtiHostTest.java +++ b/hostsidetests/jvmti/base/host/src/android/jvmti/cts/JvmtiHostTest.java @@ -128,7 +128,7 @@ public class JvmtiHostTest extends DeviceTestCase implements IBuildReceiver, IAb RemoteAndroidTestRunner runner = new RemoteAndroidTestRunner(mTestPackageName, RUNNER, device.getIDevice()); // set a max deadline limit to avoid hanging forever - runner.setMaxTimeToOutputResponse(5, TimeUnit.MINUTES); + runner.setMaxTimeToOutputResponse(10, TimeUnit.MINUTES); AttachAgent aa = new AttachAgent(device, mTestPackageName, mTestApk); aa.prepare(); |