blob: 262f18903d04faabe23eed0602d996c838d51a80 [file] [log] [blame]
# Copyright 2022 The ChromiumOS Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
AUTHOR = "dhaddock, ChromiumOS"
NAME = "autoupdate_Lacros.m2n"
METADATA = {
"contacts": [
"chromeos-core-services@google.com",
"chromeos-sw-engprod@google.com"
],
"bug_component": "b:908319",
"criteria": "Tests an M-to-N update and check rootfs-lacros."
}
TIME = "MEDIUM"
TEST_TYPE = "server"
DOC = """
Logs in and launches rootfs-lacros before and after a M-to-N autoupdate.
Refer to autoupdate_Basic's control.delta file for instructions on how to run
this test locally from your workstation.
Note: for m2n tests, the source version is the currently serving stable channel
version.
"""
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_Lacros', host=host, full_payload=True, m2n=True,
**args_dict)
job.parallel_simple(run, machines)