Fix the flakiness of testNativeCrash
Use PollingCheck to check the availability of the tombstone after a
native crash is triggered. The timeout was set to 1000 ms.
However, 1481 milliseconds and 951 milliseconds had been observed in
some tests. Increase the timeout to 10_000 milliseconds per Elliott
Hughes' suggestion.
Bug: 192299487
Test: atest
CtsAppExitTestCases: ActivityManagerAppExitInfoTest#testNativeCrash
Change-Id: I1291e649e3a39e030409ce578f4abd56c5305fcf
(cherry picked from commit 73d51e3f5c7c52ede610a1312cbba5271fb4094f)
1 file changed