blob: 5b9a2e442718e9566e58dcdec826e702b783deb8 [file] [log] [blame]
# Copyright 2020 The ChromiumOS Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
AUTHOR = "dhaddock, ChromiumOS"
NAME = "autoupdate_Periodic.delta"
METADATA = {
"contacts": [
"chromeos-core-services@google.com",
"chromeos-sw-engprod@google.com"
],
"bug_component": "b:908319",
"criteria": "Tests periodic update with test-update-check-interval-timeout pref."
}
TIME = "MEDIUM"
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.
Refer to autoupdate_Basic's control.delta file for instructions on how to run
this test locally from your workstation.
"""
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)