blob: f44fe908d6dd9b43b693a785b352c28b71f8fdba [file] [log] [blame]
David Haddock95c74c02019-09-16 11:06:33 -07001# Copyright 2018 The Chromium OS Authors. All rights reserved.
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5AUTHOR = "dhaddock, Chromium OS"
6NAME = "autoupdate_ForcedOOBEUpdate.interrupt.suspend.full.moblab"
7PURPOSE = "Test forced update at OOBE with suspend/resume interruptions."
8TIME = "MEDIUM"
9TEST_CATEGORY = "Functional"
10TEST_CLASS = "platform"
11TEST_TYPE = "server"
12ATTRIBUTES = "suite:au_fsi"
13DOC = """
14This tests the forced autoupdate flow at OOBE with interruptions.
15
16During the update it will use powerd to suspend/resume.
17
18"""
19
20from autotest_lib.client.common_lib import utils
21
22args_dict = utils.args_to_dict(args)
23
24def run(machine):
25 host = hosts.create_host(machine)
26 job.run_test('autoupdate_ForcedOOBEUpdate', host=host, full_payload=True,
Amin Hassanif56f5c62020-02-14 16:31:31 -080027 interrupt='suspend', moblab=True, **args_dict)
David Haddock95c74c02019-09-16 11:06:33 -070028
29job.parallel_simple(run, machines)