[nexus] fix intermittent failure in dns_client_config_auto_start test (#12940)

This commit fixes an intermittent failure in the Nexus test
'dns_client_config_auto_start'. The test was occasionally failing
because the REED node was not upgrading to the Router role within
the previous 15-second stabilization period.

The Router role transition can take up to 120 seconds due to the
default 'ROUTER_SELECTION_JITTER' parameter. This commit increases
'kStabilizationTime' to 200 seconds to ensure the node has ample
time to become a router before the test proceeds to verify its
DNS configuration.
This commit is contained in:
Jonathan Hui
2026-04-20 06:59:21 -07:00
committed by GitHub
parent 9bff14609d
commit 2ed544115b
@@ -48,7 +48,7 @@ static constexpr uint32_t kJoinNetworkTime = 10 * 1000;
/**
* Time to advance for the network to stabilize, in milliseconds.
*/
static constexpr uint32_t kStabilizationTime = 15 * 1000;
static constexpr uint32_t kStabilizationTime = 200 * 1000;
/**
* Default DNS server address for testing.