mirror of
https://github.com/espressif/openthread.git
synced 2026-08-22 02:19:52 +00:00
[routing-manager] retry sending failed RS messages (#7038)
Current implement will start evaluating on-link prefix before successfully sending kMaxRtrSolicitations=3 RS messages. This commit fixes this issue by retrying sending failed RS messages in kRtrSolicitationRetryFailDelay=60 seconds.
This commit is contained in:
@@ -267,8 +267,9 @@ class SingleBorderRouter(thread_cert.TestCase):
|
||||
|
||||
br.enable_ether()
|
||||
|
||||
# It takes around 10 seconds to start sending RA messages.
|
||||
self.simulator.go(15)
|
||||
# The routing manager may fail to send RS and will wait for 60 seconds
|
||||
# before retrying.
|
||||
self.simulator.go(80)
|
||||
self.collect_ipaddrs()
|
||||
|
||||
logging.info("BR addrs: %r", br.get_addrs())
|
||||
|
||||
Reference in New Issue
Block a user