Add a new change type and use it when an unexpected time jump is detected in the scheduler to reset reference times, offset and slewing, NCR instances (with their polling interval), synchronization status, and drop all sourcestats, manual, refclock and RTC samples. This should make the recovery more graceful if the estimated jump has a large error (e.g. select didn't timeout, or after system suspend). |
||
---|---|---|
.. | ||
001-defaults | ||
002-largenetwork | ||
003-largefreqoffset | ||
004-largetimeoffset | ||
005-externalstep | ||
006-largejitter | ||
007-largewander | ||
101-poll | ||
102-iburst | ||
103-initstepslew | ||
104-driftfile | ||
105-ntpauth | ||
106-refclock | ||
107-allowdeny | ||
108-peer | ||
109-makestep | ||
110-chronyc | ||
111-knownclient | ||
112-port | ||
201-freqaccumulation | ||
README | ||
run | ||
test.common |
This is a collection of simulation tests. They use clknetsim to simulate multiple systems connected in a network. It's available at https://github.com/mlichvar/clknetsim If this directory doesn't have a clknetsim subdirectory, a known working revision will be downloaded and compiled automatically. Currently it runs only on Linux. The tests are written in bash and they can be run directly. The ./run script runs all tests.