summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2021-06-02 20:06:54 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2021-06-02 20:06:54 +0000
commit800917abc438546630da5e55c28a3ceef91f72f4 (patch)
treed81e1cdb13f339c31e02f3361669b43e4dd60e4c
parentc8c9d1eec9ca51c84bf9d95582ba57e62752e7a6 (diff)
parent09b954fbd9483efc1d04c65021b14142841ab385 (diff)
downloadextras-android10-tests-release.tar.gz
-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 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.