[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.
This commit is contained in:
Jonathan Hui
2026-02-19 00:31:00 -06:00
committed by GitHub
parent 7f8e04a352
commit 932791805f
+2 -2
View File
@@ -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.