From 6379aa78f708e4f698d9f5d2b998c78f5d273adf Mon Sep 17 00:00:00 2001 From: Yi-Yo Chiang Date: Fri, 5 Aug 2022 02:33:17 +0800 Subject: DsuGsiIntegrationTest: Push without content provider NativeDevice.push() uses content provider to send files, which takes a long time and can cause test flake when pushing large files. Disable content provider for this test. Background: aosp/2079799 Bug: 240389742 Test: DsuGsiIntegrationTest Change-Id: I36340481bf5acfee36b2dc16060369cce8e42aa6 --- tests/DsuGsiIntegrationTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/DsuGsiIntegrationTest.java b/tests/DsuGsiIntegrationTest.java index 18bafd3..78d001c 100644 --- a/tests/DsuGsiIntegrationTest.java +++ b/tests/DsuGsiIntegrationTest.java @@ -144,7 +144,7 @@ public class DsuGsiIntegrationTest extends DsuTestBase { } CLog.i("Pushing '%s' -> '%s'", mSystemImageZip, DSU_IMAGE_ZIP_PUSH_PATH); - getDevice().pushFile(mSystemImageZip, DSU_IMAGE_ZIP_PUSH_PATH); + getDevice().pushFile(mSystemImageZip, DSU_IMAGE_ZIP_PUSH_PATH, true); final long freeSpaceBeforeInstall = getDevice().getPartitionFreeSpace("/data") << 10; assertShellCommand(getDsuInstallCommand()); -- cgit v1.2.3