diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2021-06-02 20:06:54 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2021-06-02 20:06:54 +0000 |
commit | 800917abc438546630da5e55c28a3ceef91f72f4 (patch) | |
tree | d81e1cdb13f339c31e02f3361669b43e4dd60e4c | |
parent | c8c9d1eec9ca51c84bf9d95582ba57e62752e7a6 (diff) | |
parent | 09b954fbd9483efc1d04c65021b14142841ab385 (diff) | |
download | extras-android-cts-10.0_r10.tar.gz |
Merge "Snap for 7414945 from f33a791c40db8a67ae1525fa059fd470b55c9eee to android10-tests-release" into android10-tests-releaseandroid-vts-10.0_r9android-vts-10.0_r16android-vts-10.0_r15android-vts-10.0_r14android-vts-10.0_r13android-vts-10.0_r12android-vts-10.0_r11android-vts-10.0_r10android-cts-10.0_r9android-cts-10.0_r16android-cts-10.0_r15android-cts-10.0_r14android-cts-10.0_r13android-cts-10.0_r12android-cts-10.0_r11android-cts-10.0_r10android10-tests-release
-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. |