Files
chrony/test/simulation
Miroslav Lichvar b90d2c084f ntp: randomize replacement interval
Replacement attempts are globally rate limited to one per 7*2^8 seconds
to limit the rate of DNS requests for public servers like pool.ntp.org.
If multiple sources are repeatedly attempting replacement (at their
polling intervals), one source can be getting all attempts for periods
of time.

Use a randomly generated interval to randomize the order of source
replacements without changing the average rate.
2023-06-08 16:14:48 +02:00
..
2022-07-21 16:05:48 +02:00
2021-04-22 10:20:31 +02:00
2022-05-19 08:23:05 +02:00
2023-06-08 16:14:48 +02:00
2021-04-15 15:17:13 +02:00
2021-08-19 14:51:42 +02:00
2021-09-23 14:48:59 +02:00
2021-11-16 10:36:26 +01:00
2023-04-13 16:22:50 +02:00
2023-04-18 11:39:27 +02:00
2016-02-05 15:20:40 +01:00
2021-03-04 12:36:36 +01:00

This is a collection of simulation tests using the clknetsim simulator
(supported on Linux only).

https://github.com/mlichvar/clknetsim

The CLKNETSIM_PATH environment variable should point to the directory where
clknetsim was downloaded and compiled. If the variable is not set, the tests
will look for clknetsim in ./clknetsim in the current directory.

The tests are written in bash and they can be run directly. The ./run script
runs all tests.