Increase HandlerUtilsTest timeout to 500ms
The test is currently 1~3% flaky with a 200ms timeout, in particular it may fail if a GC runs while waitForIdle is running. Increase the timeout to 1s, which should be enough to cover such cases. Change-Id: Ic6d4ff18fb81feb09639442196cdef3c5cfdf30c Fixes: 302949876 Test: TH
This commit is contained in:
@@ -27,7 +27,7 @@ import org.junit.runner.RunWith
|
||||
import org.junit.runners.JUnit4
|
||||
|
||||
private const val ATTEMPTS = 50 // Causes testWaitForIdle to take about 150ms on aosp_crosshatch-eng
|
||||
private const val TIMEOUT_MS = 200
|
||||
private const val TIMEOUT_MS = 1000
|
||||
|
||||
@RunWith(JUnit4::class)
|
||||
class HandlerUtilsTest {
|
||||
|
||||
Reference in New Issue
Block a user