Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 34a894dc authored by Pavel Grafov's avatar Pavel Grafov
Browse files

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
parent 24e2025e
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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) {