Increase user-unlock timeout for ___UserContentResolverTest

The test was flaky due to taking too long to unlock.

Change-Id: I151522bf2260bc0ac9a7b94b10fc9ae68c6286a5
Test: atest android.content.SecondaryUserContentResolverTest#testNotifyChange
Test: atest android.content.ManagedUserContentResolverTest#testNotifyChange
Bug: 217733309
This commit is contained in:
Adam Bookatz
2022-03-03 00:46:37 +00:00
parent 8967e85cf4
commit f3b0652873

View File

@@ -49,7 +49,7 @@ import java.util.concurrent.TimeUnit;
abstract class AbstractCrossUserContentResolverTest {
private static final int TIMEOUT_SERVICE_CONNECTION_SEC = 4;
private static final int TIMEOUT_CONTENT_CHANGE_SEC = 4;
private static final int TIMEOUT_USER_UNLOCK_SEC = 4;
private static final int TIMEOUT_USER_UNLOCK_SEC = 10;
private Context mContext;
protected UserManager mUm;