Skip to content
Snippets Groups Projects
Commit cb5cf5f5 authored by Kunal's avatar Kunal Committed by Kunal Malhotra
Browse files

Bug fix for failing test. Process start times out due to long sleep time,...

Bug fix for failing test. Process start times out due to long sleep time, which should only be done for wedge.

Bug: 300996262
Test: atest FrameworksMockingServicesTests:AsyncProcessStartTest#testNormal
Change-Id: Ia58c5f1865ebc050cc55e98b6d039339f6205723
parent bb756a05
No related branches found
No related tags found
No related merge requests found
......@@ -280,7 +280,9 @@ public class AsyncProcessStartTest {
0, 0);
// Sleep until timeout should have triggered
SystemClock.sleep(ActivityManagerService.PROC_START_TIMEOUT + 1000);
if (wedge) {
SystemClock.sleep(ActivityManagerService.PROC_START_TIMEOUT + 1000);
}
return app;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment