Commit 21cfcdd
Add check for max root dispersion on the PTF's NTP daemon (sonic-net#17629)
* Add check for max root dispersion on the PTF's NTP daemon
When using Chrony as the NTP daemon on the DUT, Chrony will not use NTP
sources that have a root dispersion of more than 3 seconds (configurable
via /etc/chrony/chrony.conf, but we currently don't touch that setting).
Therefore, block here until the root dispersion is less than 3 seconds
so that we don't incorrectly fail the test.
Signed-off-by: Saikrishna Arcot <[email protected]>
* Fix math and fix whitespace
Signed-off-by: Saikrishna Arcot <[email protected]>
---------
Signed-off-by: Saikrishna Arcot <[email protected]>
Signed-off-by: Guy Shemesh <[email protected]>1 parent 1f54904 commit 21cfcdd
1 file changed
+20
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
27 | 34 | | |
28 | 35 | | |
29 | 36 | | |
| |||
89 | 96 | | |
90 | 97 | | |
91 | 98 | | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
92 | 112 | | |
93 | 113 | | |
94 | 114 | | |
| |||
0 commit comments