Increase default maxWait to 30 seconds.

Since we check every 50ms this will not increase the test time when the
device is not slow.

Bug: 228066093
Test: atest TrustTests (details in bug)
Change-Id: Icd73b77aa5ffd446a55aa427bc85edcb3b5b041e
This commit is contained in:
Dave McCloskey
2022-04-06 10:09:54 -07:00
parent 3c1bcfa499
commit 8439e6a2c6

View File

@@ -33,7 +33,7 @@ private const val TAG = "TrustTestUtils"
*/
internal fun wait(
description: String? = null,
maxWait: Long = 1500L,
maxWait: Long = 30000L,
rate: Long = 50L,
conditionFunction: (count: Int) -> Boolean
) {