From 932791805f84178b35bc9c388a522bc96e641262 Mon Sep 17 00:00:00 2001 From: Jonathan Hui Date: Thu, 19 Feb 2026 00:31:00 -0600 Subject: [PATCH] [nexus] fix occasional failure in test 6.1.4 (#12491) Increase kAttachToChildTime to 100s to ensure neighbor discovery completes for REEDs. Also set kReedThreshold to 0 to prevent premature router upgrades during the discovery phase. --- tests/nexus/test_6_1_4.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/nexus/test_6_1_4.cpp b/tests/nexus/test_6_1_4.cpp index bf458ba78..f68066804 100644 --- a/tests/nexus/test_6_1_4.cpp +++ b/tests/nexus/test_6_1_4.cpp @@ -44,7 +44,7 @@ static constexpr uint32_t kFormNetworkTime = 13 * 1000; /** * Time to advance for a node to join as a child, in milliseconds. */ -static constexpr uint32_t kAttachToChildTime = 10 * 1000; +static constexpr uint32_t kAttachToChildTime = 100 * 1000; /** * Time to advance for a node to upgrade to a router, in milliseconds. @@ -69,7 +69,7 @@ static constexpr uint32_t kPollPeriod = 500; /** * Threshold to keep nodes as REEDs. */ -static constexpr uint8_t kReedThreshold = 1; +static constexpr uint8_t kReedThreshold = 0; /** * Default threshold for router upgrade.