diff options
author | 2024-03-25 20:37:05 +0000 | |
---|---|---|
committer | 2024-03-25 20:37:05 +0000 | |
commit | cf2905fa964e8321ed2c8451362b99ee6729f763 (patch) | |
tree | 18bb2547c8a6335d7fdf450204ca639169cfc293 | |
parent | fd96303802ab38519dd83a30724ff7f3f66648d4 (diff) | |
parent | 3393dfed4c1381aa0b4dade610ad84c4d122c919 (diff) |
Merge "Bump resurface delay timeout." into main
-rw-r--r-- | tests/functional/safetycenter/singleuser/src/android/safetycenter/functional/SafetyCenterManagerTest.kt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/functional/safetycenter/singleuser/src/android/safetycenter/functional/SafetyCenterManagerTest.kt b/tests/functional/safetycenter/singleuser/src/android/safetycenter/functional/SafetyCenterManagerTest.kt index 8bcc724f3..4f06c0f3f 100644 --- a/tests/functional/safetycenter/singleuser/src/android/safetycenter/functional/SafetyCenterManagerTest.kt +++ b/tests/functional/safetycenter/singleuser/src/android/safetycenter/functional/SafetyCenterManagerTest.kt @@ -3836,9 +3836,9 @@ class SafetyCenterManagerTest { companion object { private val RESURFACE_DELAY = Duration.ofMillis(500) - // Wait 1.5 times the RESURFACE_DELAY before asserting whether an issue has or has not + // Wait 3 times the RESURFACE_DELAY before asserting whether an issue has or has not // resurfaced. Use a constant additive error buffer if we increase the delay considerably. - private val RESURFACE_TIMEOUT = RESURFACE_DELAY.multipliedBy(3).dividedBy(2) + private val RESURFACE_TIMEOUT = RESURFACE_DELAY.multipliedBy(3) // Check more than once during a RESURFACE_DELAY before asserting whether an issue has or // has not resurfaced. Use a different check logic (focused at the expected resurface time) // if we increase the delay considerably. |