summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2021-06-02 20:06:25 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2021-06-02 20:06:25 +0000
commit95098b960266634fd5ccce929a516556afa9168a (patch)
tree010c98bc2d163b0600ece6eeed6c57e9f5e3f506
parent883c138629e8870cefc6ab8a9b923cac08e70d41 (diff)
parent26d94ee676a285179ed0a9e27d0ca619bbcc5b6d (diff)
downloadextras-95098b960266634fd5ccce929a516556afa9168a.tar.gz
Snap for 7418429 from 26d94ee676a285179ed0a9e27d0ca619bbcc5b6d to android11-tests-release
Change-Id: Icf3273495d62049884cc96cbfb31aefc9a41e9ec
-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".