You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
1010 B
30 lines
1010 B
# Copyright 2020 The Chromium OS Authors. All rights reserved.
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
# found in the LICENSE file.
|
|
|
|
AUTHOR = "dhaddock, Chromium OS"
|
|
NAME = "autoupdate_Periodic.delta"
|
|
TIME = "MEDIUM"
|
|
PURPOSE = "Tests periodic update with test-update-check-interval-timeout pref."
|
|
TEST_CATEGORY = "Functional"
|
|
TEST_CLASS = "platform"
|
|
TEST_TYPE = "server"
|
|
ATTRIBUTES = "suite:au-perbuild"
|
|
DOC = """
|
|
Tests that the DUT makes periodic update checks. On test images, periodic
|
|
checks are disabled but by using a pref (test-update-check-interval-timeout) we
|
|
can simulate it. We do periodic checks 5 seconds apart. The first will return
|
|
no update, the second will return an update.
|
|
"""
|
|
|
|
from autotest_lib.client.common_lib import utils
|
|
|
|
args_dict = utils.args_to_dict(args)
|
|
|
|
def run(machine):
|
|
host = hosts.create_host(machine)
|
|
job.run_test('autoupdate_Periodic', host=host, full_payload=False,
|
|
**args_dict)
|
|
|
|
job.parallel_simple(run, machines)
|