Skip to content

Commit 2ed5441

Browse files
authored
[nexus] fix intermittent failure in dns_client_config_auto_start test (openthread#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.
1 parent 9bff146 commit 2ed5441

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/nexus/test_dns_client_config_auto_start.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ static constexpr uint32_t kJoinNetworkTime = 10 * 1000;
4848
/**
4949
* Time to advance for the network to stabilize, in milliseconds.
5050
*/
51-
static constexpr uint32_t kStabilizationTime = 15 * 1000;
51+
static constexpr uint32_t kStabilizationTime = 200 * 1000;
5252

5353
/**
5454
* Default DNS server address for testing.

0 commit comments

Comments
 (0)