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
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user