test: ntp: client_stratum_selection: Adapt to yangerd behaviour

This commit is contained in:
Mattias Walström
2026-06-27 08:41:22 +02:00
parent 8b60e447f3
commit 01b9c04f95
@@ -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)"):