You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The test_time_tcp integration test checks (among other things) if the replies it gets from querying multiple time servers are within a reasonable time interval. This is implemented by comparing the difference between maximum and minimum received timestamp with the time elapsed between the first and the last server contact. The idea is that if the server clocks and local clock are progressing at the same rate, and the server clocks are set correctly, then the difference and time elapsed should be identical (up to some slack).
The current implementation fails to send notifications if the slack becomes excessive, because it references undeclared variables:
The
test_time_tcp
integration test checks (among other things) if the replies it gets from querying multiple time servers are within a reasonable time interval. This is implemented by comparing the difference between maximum and minimum received timestamp with the time elapsed between the first and the last server contact. The idea is that if the server clocks and local clock are progressing at the same rate, and the server clocks are set correctly, then the difference and time elapsed should be identical (up to some slack).The current implementation fails to send notifications if the slack becomes excessive, because it references undeclared variables:
https://github.com/SeattleTestbed/integrationtests/blob/master/time/test_time_tcp.py#L88
The text was updated successfully, but these errors were encountered: