blob: f44fe908d6dd9b43b693a785b352c28b71f8fdba [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_ForcedOOBEUpdate.interrupt.suspend.full.moblab"
PURPOSE = "Test forced update at OOBE with suspend/resume interruptions."
TIME = "MEDIUM"
TEST_CATEGORY = "Functional"
TEST_CLASS = "platform"
TEST_TYPE = "server"
ATTRIBUTES = "suite:au_fsi"
DOC = """
This tests the forced autoupdate flow at OOBE with interruptions.
During the update it will use powerd to suspend/resume.
"""
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='suspend', moblab=True, **args_dict)
job.parallel_simple(run, machines)