diff options
author | Treehugger Robot <treehugger-gerrit@google.com> | 2021-06-01 21:12:53 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2021-06-01 21:12:53 +0000 |
commit | f33a791c40db8a67ae1525fa059fd470b55c9eee (patch) | |
tree | d81e1cdb13f339c31e02f3361669b43e4dd60e4c | |
parent | 1b0881c929f311b92e0ffd9295a9087ec55734c1 (diff) | |
parent | f4c5261d008fd0726e05c2d46a43a0bc5e9f4ee5 (diff) | |
download | extras-android10-tests-dev.tar.gz |
Merge "simpleperf: increase record duration" into android10-tests-devandroid10-tests-dev
-rw-r--r-- | simpleperf/cmd_record_test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/simpleperf/cmd_record_test.cpp b/simpleperf/cmd_record_test.cpp index 7ae589d7..748fdf24 100644 --- a/simpleperf/cmd_record_test.cpp +++ b/simpleperf/cmd_record_test.cpp @@ -752,7 +752,7 @@ static void TestRecordingApps(const std::string& app_name) { // Bring the app to foreground to avoid no samples. ASSERT_TRUE(Workload::RunCmd({"am", "start", app_name + "/.MainActivity"})); TemporaryFile tmpfile; - ASSERT_TRUE(RecordCmd()->Run({"-o", tmpfile.path, "--app", app_name, "-g", "--duration", "3"})); + ASSERT_TRUE(RecordCmd()->Run({"-o", tmpfile.path, "--app", app_name, "-g", "--duration", "10"})); std::unique_ptr<RecordFileReader> reader = RecordFileReader::CreateInstance(tmpfile.path); ASSERT_TRUE(reader); // Check if having samples. |