From 34a894dc5dffb77df1c32374f79ff60b1dccf68a Mon Sep 17 00:00:00 2001 From: Pavel Grafov Date: Mon, 16 Dec 2019 19:07:21 +0000 Subject: Disable package verifier in stress test. This makes this closer to CTS test conditions and also prevents package install timeouts if something is wrong with the verifier. Bug: 141115315 Test: atest ManagedProfileLifecycleStressTest Change-Id: I8ff11d8f8bb5752bb93f06696df84849faaf23b9 --- .../src/com/android/test/stress/ManagedProfileLifecycleStressTest.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/ManagedProfileLifecycleStressTest') diff --git a/tests/ManagedProfileLifecycleStressTest/src/com/android/test/stress/ManagedProfileLifecycleStressTest.java b/tests/ManagedProfileLifecycleStressTest/src/com/android/test/stress/ManagedProfileLifecycleStressTest.java index e323592d40ca..026677e09bed 100644 --- a/tests/ManagedProfileLifecycleStressTest/src/com/android/test/stress/ManagedProfileLifecycleStressTest.java +++ b/tests/ManagedProfileLifecycleStressTest/src/com/android/test/stress/ManagedProfileLifecycleStressTest.java @@ -53,6 +53,8 @@ public class ManagedProfileLifecycleStressTest extends BaseHostJUnit4Test { */ @Test public void testCreateStartDelete() throws Exception { + // Disable package verifier for ADB installs. + getDevice().executeShellCommand("settings put global verifier_verify_adb_installs 0"); int iteration = 0; final long deadline = System.nanoTime() + TimeUnit.MINUTES.toNanos(TIME_LIMIT_MINUTES); while (System.nanoTime() < deadline) { -- cgit v1.2.3-59-g8ed1b