aboutsummaryrefslogtreecommitdiff
path: root/server/site_tests/autoupdate_ForcedOOBEUpdate/control.interrupt.reboot.full
blob: 52a56a9f97242117fbf1a536b28fc0cd922572e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# 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)