]> git.ipfire.org Git - thirdparty/chrony.git/commitdiff
test: make 108-peer more reliable
authorMiroslav Lichvar <mlichvar@redhat.com>
Wed, 28 Aug 2024 14:49:25 +0000 (16:49 +0200)
committerMiroslav Lichvar <mlichvar@redhat.com>
Thu, 29 Aug 2024 07:37:50 +0000 (09:37 +0200)
test/simulation/108-peer

index 906de170d0c7ec7ab25185d364093c42d1de2c0a..2c914e12d9f32284e720e35c473061f0bc43ffed 100755 (executable)
@@ -21,6 +21,7 @@ EOF
 
 clients=2
 peers=2
+freq_max_limit=1e-3
 max_sync_time=1000
 client_server_options="minpoll 6 maxpoll 6"
 client_peer_options="minpoll 6 maxpoll 6"
@@ -30,6 +31,7 @@ check_chronyd_exit || test_fail
 check_source_selection || test_fail
 check_sync || test_fail
 
+freq_max_limit=$default_freq_max_limit
 base_delay="(+ 1e-4 (* -1 (equal 0.1 from 3) (equal 0.1 to 1)))"
 client_peer_options=""