From 01b9c04f95e52dac1bcfa9f5ee13961e2b2d3d43 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mattias=20Walstr=C3=B6m?= Date: Fri, 12 Jun 2026 16:15:23 +0200 Subject: [PATCH] test: ntp: client_stratum_selection: Adapt to yangerd behaviour --- test/case/ntp/client_stratum_selection/test.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/case/ntp/client_stratum_selection/test.py b/test/case/ntp/client_stratum_selection/test.py index f52be546..93c32560 100755 --- a/test/case/ntp/client_stratum_selection/test.py +++ b/test/case/ntp/client_stratum_selection/test.py @@ -127,7 +127,7 @@ with infamy.Test() as test: }) with test.step("Wait for client to see both servers"): - until(lambda: ntp.number_of_sources(client) == 2, attempts=60) + until(lambda: ntp.number_of_sources(client) == 2, attempts=120) with test.step("Wait for srv2 stratum to stabilize"): # Ensure srv2 has synced with srv1 and is advertising @@ -148,7 +148,7 @@ with infamy.Test() as test: return True return False - until(check_stratums, attempts=60) + until(check_stratums, attempts=120) print(f"srv1 and srv2 stratums verified as different") with test.step("Verify client selects srv1 (lower stratum)"):