Files
infix/test/case/ntp
Joachim Wiberg abad3cedc6 confd: actually fix stratum-weight semantics and flaky test
The setting 'stratumweight 0.0' disables stratum in Chrony source
selection (pure distance-based), making client_stratum_selection
non-deterministic on a LAN.  Setting it to 1.0 gives srv1 a 1-second
effective advantage per stratum level, which no realistic distance
fluctuation can overcome.

Also correct the YANG descriptions in infix-system and infix-ntp which
had the semantics backwards — claiming 0.0 "ensures lower stratum is
always preferred" when in fact higher values do that.

Fixes #1361

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
2026-03-20 16:18:15 +01:00
..
2026-01-04 12:28:28 +01:00
2026-01-04 12:28:28 +01:00
2026-01-04 12:28:28 +01:00

:testgroup:
== NTP Server Tests

Tests for NTP server functionality across different operational modes:

 - Standalone mode: local reference clock only
 - Server mode: sync from upstream while serving clients
 - Peer mode: bidirectional synchronization between peers
 - Server and client interoperability
 - Client stratum selection between multiple servers

include::server_mode_standalone/Readme.adoc[]

<<<

include::server_mode_server/Readme.adoc[]

<<<

include::server_mode_peer/Readme.adoc[]

<<<

include::server_client/Readme.adoc[]

<<<

include::client_stratum_selection/Readme.adoc[]