mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-03 18:45:07 -05:00
test: make 009-sourceselection more reliable
This commit is contained in:
@@ -6,6 +6,7 @@ test_start "source selection"
|
|||||||
|
|
||||||
# Falsetickers should be detected if their number is less than half of all
|
# Falsetickers should be detected if their number is less than half of all
|
||||||
|
|
||||||
|
base_delay=1e-3
|
||||||
servers=5
|
servers=5
|
||||||
|
|
||||||
for falsetickers in 1 2; do
|
for falsetickers in 1 2; do
|
||||||
@@ -29,7 +30,7 @@ done
|
|||||||
|
|
||||||
servers=3
|
servers=3
|
||||||
falsetickers=0
|
falsetickers=0
|
||||||
base_delay="(+ $default_base_delay (equal 0.1 to 2) (equal 0.1 to 3))"
|
base_delay="(+ 1e-3 (equal 0.1 to 2) (equal 0.1 to 3))"
|
||||||
|
|
||||||
run_test || test_fail
|
run_test || test_fail
|
||||||
check_chronyd_exit || test_fail
|
check_chronyd_exit || test_fail
|
||||||
|
|||||||
Reference in New Issue
Block a user