summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGopinath Elanchezhian <gelanchezhian@google.com>2020-08-18 15:11:13 -0700
committerGopinath Elanchezhian <gelanchezhian@google.com>2020-08-18 23:45:18 +0000
commite5f28772ef1821b6ff72d99c1c2b25bb14a90e29 (patch)
tree49b88a4de1688d1eb296a20928647cc1d64110c7
parent63dd037e0913abd41f8ca67b1c46851d37211162 (diff)
Move Tradefed content provider installation in preparer.
Pushing sample file in /sdcard automatically installs the content provider. This is done to reduce noise during the second test in the test suite. Bug: b/164992819 Test: atest MultiUserPerfTest Change-Id: I1dd583acc850e1233f06af50e28e2ebb0adc0df1
-rw-r--r--apct-tests/perftests/multiuser/AndroidTest.xml3
1 files changed, 3 insertions, 0 deletions
diff --git a/apct-tests/perftests/multiuser/AndroidTest.xml b/apct-tests/perftests/multiuser/AndroidTest.xml
index c7929af6077f..fbe589248338 100644
--- a/apct-tests/perftests/multiuser/AndroidTest.xml
+++ b/apct-tests/perftests/multiuser/AndroidTest.xml
@@ -27,6 +27,9 @@
<target_preparer class="com.android.tradefed.targetprep.RootTargetPreparer"/>
<target_preparer class="com.android.tradefed.targetprep.PushFilePreparer">
<option name="push-file" key="trace_config_detailed.textproto" value="/data/misc/perfetto-traces/trace_config.textproto" />
+ <!--Install the content provider automatically when we push some file in sdcard folder.-->
+ <!--Needed to avoid the installation during the test suite.-->
+ <option name="push-file" key="trace_config_detailed.textproto" value="/sdcard/sample.textproto" />
</target_preparer>
<!-- Needed for pulling the collected trace config on to the host -->