Commit 164da0a0 authored by Hu Wang's avatar Hu Wang Committed by Yu Chen
Browse files

Sleep enough time for profiling file generated complete

This case using cmd “adb shell am profile stop android.server.am.debuggable” to stop profile.
Wait only 100ms for profile file to be generated.And then use cmd
"adb shell mv /data/local/tmp/profile.trace /storage/emulated/0/Android/data/android.server.cts.am/files/profile.trace"
to move profie.trace file to an accessible folder.

100ms is not enough time for profiling file generated complete.
So extend time to 300ms.

Bug: 112251130
Test: run the test case testAmStartStartProfilerNoSamplingNoStreaming pass.

Change-Id: I847d5860df354f9917dd4df91131bb36db24f07b
parent 5a4c8c7d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment