• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
5AUTHOR = "Chrome OS Team"
6NAME = "platform_AccurateTime"
7PURPOSE = "Ensure system time is set correctly."
8CRITERIA = """
9This 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"""
14TIME = "SHORT"
15TEST_CATEGORY = "Functional"
16TEST_CLASS = "platform"
17TEST_TYPE = "client"
18
19DOC = """
20This test tests whether the system time is set within allowable drift from
21the configured NTP server's time.
22"""
23
24job.run_test('platform_AccurateTime', constraints=['seconds_offset < 60'])
25