30 lines
868 B
Plaintext
30 lines
868 B
Plaintext
# 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_ForcedOOBEUpdate.interrupt.reboot.full"
|
|
PURPOSE = "Test forced update at OOBE with reboot interruptions."
|
|
TIME = "MEDIUM"
|
|
TEST_CATEGORY = "Functional"
|
|
TEST_CLASS = "platform"
|
|
TEST_TYPE = "server"
|
|
ATTRIBUTES = "suite:au-oobe"
|
|
DOC = """
|
|
This tests the forced autoupdate flow at OOBE with interruptions.
|
|
|
|
During the update it will reboot.
|
|
|
|
"""
|
|
|
|
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_ForcedOOBEUpdate', host=host, full_payload=True,
|
|
interrupt='reboot', **args_dict)
|
|
|
|
job.parallel_simple(run, machines)
|