test: allow nodes to poll themselves

This commit is contained in:
Miroslav Lichvar 2019-09-05 17:30:17 +02:00
parent 4adcf58368
commit 435cbef31a
2 changed files with 2 additions and 3 deletions

View file

@ -11,9 +11,9 @@ server_conf="local stratum 5 orphan
server 192.168.123.1 server 192.168.123.1
server 192.168.123.2 server 192.168.123.2
server 192.168.123.3" server 192.168.123.3"
max_sync_time=500 max_sync_time=900
client_start=140 client_start=140
chronyc_start=300 chronyc_start=700
chronyc_conf="tracking" chronyc_conf="tracking"
time_rms_limit=5e-4 time_rms_limit=5e-4

View file

@ -449,7 +449,6 @@ run_test() {
for i in $(seq 1 $nodes); do for i in $(seq 1 $nodes); do
echo "node${i}_shift_pll = $shift_pll" echo "node${i}_shift_pll = $shift_pll"
for j in $(seq 1 $nodes); do for j in $(seq 1 $nodes); do
[ $i -eq $j ] && continue
echo "node${i}_delay${j} = $(get_delay_expr up)" echo "node${i}_delay${j} = $(get_delay_expr up)"
echo "node${j}_delay${i} = $(get_delay_expr down)" echo "node${j}_delay${i} = $(get_delay_expr down)"
done done