summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2021-06-02 20:07:40 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2021-06-02 20:07:40 +0000
commit1431a6b93d570f11d5e18a575dae6d8715de26d1 (patch)
tree010c98bc2d163b0600ece6eeed6c57e9f5e3f506
parent883c138629e8870cefc6ab8a9b923cac08e70d41 (diff)
parent95098b960266634fd5ccce929a516556afa9168a (diff)
downloadextras-1431a6b93d570f11d5e18a575dae6d8715de26d1.tar.gz
Merge "Snap for 7418429 from 26d94ee676a285179ed0a9e27d0ca619bbcc5b6d to android11-tests-release" into android11-tests-releaseandroid-vts-11.0_r6android-vts-11.0_r5android-cts-11.0_r6android-cts-11.0_r5
-rw-r--r--simpleperf/cmd_record_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/simpleperf/cmd_record_test.cpp b/simpleperf/cmd_record_test.cpp
index fdb6f5e3..50730e22 100644
--- a/simpleperf/cmd_record_test.cpp
+++ b/simpleperf/cmd_record_test.cpp
@@ -806,7 +806,7 @@ static void TestRecordingApps(const std::string& app_name) {
// Bring the app to foreground to avoid no samples.
ASSERT_TRUE(helper.StartApp("am start " + app_name + "/.MainActivity"));
- ASSERT_TRUE(helper.RecordData("--app " + app_name + " -g --duration 3 -e " + GetDefaultEvent()));
+ ASSERT_TRUE(helper.RecordData("--app " + app_name + " -g --duration 10 -e " + GetDefaultEvent()));
// Check if we can profile Java code by looking for a Java method name in dumped symbols, which
// is app_name + ".MainActivity$1.run".