summaryrefslogtreecommitdiff
path: root/libunwindstack/tests/MemoryFileTest.cpp
diff options
context:
space:
mode:
authorKeun-young Park <keunyoung@google.com>2017-03-27 11:21:09 -0700
committerKeun-young Park <keunyoung@google.com>2017-03-27 13:44:50 -0700
commit3ee0df9bdfef5e872d278b3d4d073a379ca62451 (patch)
tree038353ab54425cdfa3bea4052eb760cf81d6bd2f /libunwindstack/tests/MemoryFileTest.cpp
parentca622b4e78cd6ddc8b7d10a5acc9f685b3f11c04 (diff)
update shutdown sequence and use shutdown_timeout to cover all wait
- Use ro.build.shutdown_timeout to cover the total time for shutdown. Limit wait time for termination only to half of shutdown_timeout with max of 3 secs as process not terminating by that time will not terminate anyway. It is better to move to the next stage quickly. fsck time for user shutdown is excluded from timeout. - Change last detach to kill, sync, and umount. Last detach did not work in many tests. - add sync after emulated partitions umount as it can trigger change in /data. bug: 36551393 Test: many reboots Change-Id: Ib75dc19af79b8326b02ccef6b16a8817ae7f8b0e
Diffstat (limited to 'libunwindstack/tests/MemoryFileTest.cpp')
0 files changed, 0 insertions, 0 deletions