David Haddock | 95c74c0 | 2019-09-16 11:06:33 -0700 | [diff] [blame] | 1 | # 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 | |
| 5 | AUTHOR = "dhaddock, Chromium OS" |
| 6 | NAME = "autoupdate_ForcedOOBEUpdate.interrupt.suspend.full.moblab" |
| 7 | PURPOSE = "Test forced update at OOBE with suspend/resume interruptions." |
| 8 | TIME = "MEDIUM" |
| 9 | TEST_CATEGORY = "Functional" |
| 10 | TEST_CLASS = "platform" |
| 11 | TEST_TYPE = "server" |
| 12 | ATTRIBUTES = "suite:au_fsi" |
| 13 | DOC = """ |
| 14 | This tests the forced autoupdate flow at OOBE with interruptions. |
| 15 | |
| 16 | During the update it will use powerd to suspend/resume. |
| 17 | |
| 18 | """ |
| 19 | |
| 20 | from autotest_lib.client.common_lib import utils |
| 21 | |
| 22 | args_dict = utils.args_to_dict(args) |
| 23 | |
| 24 | def run(machine): |
| 25 | host = hosts.create_host(machine) |
| 26 | job.run_test('autoupdate_ForcedOOBEUpdate', host=host, full_payload=True, |
Amin Hassani | f56f5c6 | 2020-02-14 16:31:31 -0800 | [diff] [blame] | 27 | interrupt='suspend', moblab=True, **args_dict) |
David Haddock | 95c74c0 | 2019-09-16 11:06:33 -0700 | [diff] [blame] | 28 | |
| 29 | job.parallel_simple(run, machines) |