mirror of
https://github.com/espressif/openthread.git
synced 2026-06-06 05:24:51 +00:00
87d39dbf5e
Nexus test 1_4_TREL_TC_4 occasionally fails during topology formation because the router promotion timeout (kAttachToRouterTime) was set to 120 seconds. The MLE router selection jitter (OPENTHREAD_CONFIG_MLE_ROUTER_SELECTION _JITTER) defaults to 120 seconds. Since the jitter timer starts after successful attachment as a child, 120 seconds is insufficient when the maximum jitter is selected, leading to a race condition. This commit increases kAttachToRouterTime to 200 seconds, matching the value used in most other Nexus tests and providing sufficient time for router promotion to complete reliably.