startop: Change the pattern to find the completion of readahead.

The pattern is shown in logcat and should match the text in iorap.

Test: python app_startup_runner.py  --package com.google.android.GoogleCamera  --readahead fadvise --inodes ../tmp.txt   -d
Bug: 142350683
Change-Id: Ia708ea8d29f4c97126e9e721284a0d346e19573b
This commit is contained in:
Yan Wang
2019-10-09 16:12:45 -07:00
parent fe708d72ec
commit 87d025efe3

View File

@@ -248,6 +248,6 @@ iorapd_readahead_wait_until_finished() {
local remote_path="$(_iorapd_path_to_data_file "$package" "$activity" "compiled_trace.pb")"
# See 'read_ahead.cc' LOG(INFO).
local pattern="ReadAhead completed ($remote_path)"
local pattern="Description = $remote_path"
logcat_wait_for_pattern "$timeout" "$timestamp" "$pattern"
}