Home | History | Annotate | Download | only in platform_AccurateTime
      1 # Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
      2 # Use of this source code is governed by a BSD-style license that can be
      3 # found in the LICENSE file.
      4 
      5 AUTHOR = "Chrome OS Team"
      6 NAME = "platform_AccurateTime"
      7 PURPOSE = "Ensure system time is set correctly."
      8 CRITERIA = """
      9 This test will fail under any of the following conditions:
     10   - NTP daemon is not running
     11   - the NTP offset is not found
     12   - if seconds_offset constraint is exceeded
     13 """
     14 TIME = "SHORT"
     15 TEST_CATEGORY = "Functional"
     16 TEST_CLASS = "platform"
     17 TEST_TYPE = "client"
     18 
     19 DOC = """
     20 This test tests whether the system time is set within allowable drift from
     21 the configured NTP server's time.
     22 """
     23 
     24 job.run_test('platform_AccurateTime', constraints=['seconds_offset < 60'])
     25