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:
@@ -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
|
||||
) {
|
||||
|
||||
Reference in New Issue
Block a user