diff --git a/tests/test_ntp.py b/tests/test_ntp.py index eb4a957e208e978bf2031a8af57a29cba8e2adf1..f35d6cb6f175505bfce708ab73bba71296cabced 100755 --- a/tests/test_ntp.py +++ b/tests/test_ntp.py @@ -24,7 +24,7 @@ print('Checking NTP server conforms to conf') if os.path.isfile('../utils.py'): es_utils = imp.load_source('es_utils', '../utils.py') conf = es_utils.load_conf() - NTP_SERVER = conf.get('NTP_SERVER') or conf.get('NTP_SERVER1') or 'ntp.ubuntu.com' + NTP_SERVER = conf.get('NTP_SERVER') or 'ntp.ubuntu.com' with open('/etc/ntp.conf', 'r') as f: d = f.read()