blob: d65389db294256048e6ff41f3249cf8aca2c248c [file] [log] [blame]
# Copyright 2018 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_Interruptions.reboot.full"
PURPOSE = "Tests using the chromebook during an update."
TIME = "MEDIUM"
TEST_CATEGORY = "Functional"
TEST_CLASS = "platform"
TEST_TYPE = "server"
ATTRIBUTES = "suite:au-perbuild"
DOC = """
Tests rebooting the chromebook during an update.
test_that <hostname>.cros autoupdate_Interruptions.reboot.full --args="job_repo_url='http://<IP>:<port>/static/<board>-release/RXX-XXXX.X.X/autotest/packages'"
"""
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_Interruptions', host=host, full_payload=True,
interrupt='reboot', return_noupdate_starting=3, **args_dict)
job.parallel_simple(run, machines)