diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2021-07-16 07:47:00 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2021-07-16 07:47:00 +0000 |
commit | 2e218aed96c22f0ba1b82109f15201ecda9dc2b2 (patch) | |
tree | aab8551ed6cf00ab715b49f4c5eff93f423cf5dd | |
parent | 07a632ed5c12940d754f4830241a67da8bd44957 (diff) | |
parent | 1af183d66e3733393c6738704047247bd3c2f9a1 (diff) | |
download | tests-android-mainline-12.0.0_r101.tar.gz |
Snap for 7555280 from 1af183d66e3733393c6738704047247bd3c2f9a1 to mainline-cellbroadcast-releaseandroid-mainline-12.0.0_r86android-mainline-12.0.0_r71android-mainline-12.0.0_r7android-mainline-12.0.0_r60android-mainline-12.0.0_r43android-mainline-12.0.0_r24android-mainline-12.0.0_r116android-mainline-12.0.0_r101android12-mainline-cellbroadcast-release
Change-Id: I9ca10cba3e9c0c122847452c09b75f010b6bd71b
-rwxr-xr-x | net/test/resilient_rs_test.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/test/resilient_rs_test.py b/net/test/resilient_rs_test.py index 27b9f49..be3210b 100755 --- a/net/test/resilient_rs_test.py +++ b/net/test/resilient_rs_test.py @@ -97,14 +97,14 @@ class ResilientRouterSolicitationTest(multinetwork_base.MultiNetworkBaseTest): def testRouterSolicitationBackoff(self): # Test error tolerance - EPSILON = 0.1 + EPSILON = 0.15 # Minimum RFC3315 S14 backoff MIN_EXP = 1.9 - EPSILON # Maximum RFC3315 S14 backoff MAX_EXP = 2.1 + EPSILON SOLICITATION_INTERVAL = 1 - # Linear backoff for 4 samples yields 3.6 < T < 4.4 - # Exponential backoff for 4 samples yields 4.83 < T < 9.65 + # Linear backoff for 4 samples yields 3.5 < T < 4.5 + # Exponential backoff for 4 samples yields 4.36 < T < 10.39 REQUIRED_SAMPLES = 4 # Give up after 10 seconds. Tuned for REQUIRED_SAMPLES = 4 SAMPLE_INTERVAL = 10 |