mirror of
https://github.com/espressif/openthread.git
synced 2026-09-01 06:49:54 +00:00
[routing-manager] resend failed RS messages in 4 seconds (#7504)
Current `Routing Manager` implementation will try to send the failed RS messages in 60 seconds. RS failures happen often when the infra interface is re-enabled which is the case of rebooting, and it could not be acceptable for the border router to take 1 minute to recover the IPv6 connectivity after reboot. To resolve this issue, this commit changes the delay to `kRtrSolicitationInterval` (4 seconds) which is the interval between two successful RS messages.
This commit is contained in:
@@ -267,9 +267,9 @@ class SingleBorderRouter(thread_cert.TestCase):
|
||||
|
||||
br.enable_ether()
|
||||
|
||||
# The routing manager may fail to send RS and will wait for 60 seconds
|
||||
# The routing manager may fail to send RS and will wait for 4 seconds
|
||||
# before retrying.
|
||||
self.simulator.go(80)
|
||||
self.simulator.go(20)
|
||||
self.collect_ipaddrs()
|
||||
|
||||
logging.info("BR addrs: %r", br.get_addrs())
|
||||
|
||||
Reference in New Issue
Block a user