| # 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. |
| NAME = "autoupdate_Basic.m2n.oldest_stable" |
| METADATA = { |
| "contacts": [ |
| "chromeos-core-services@google.com", |
| "chromeos-sw-engprod@google.com" |
| ], |
| "bug_component": "b:908319", |
| "criteria": "Tests an M-to-N update with user login between versions." |
| } |
| TIME = "MEDIUM" |
| TEST_TYPE = "server" |
| ATTRIBUTES = "suite:au-m2n" |
| JOB_RETRIES = 2 |
| DOC = """ |
| Tests an update from the oldest serving stable version in paygen.json. |
| Refer to control.delta for instructions on how to run this test locally. |
| """ |
| 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_Basic', host=host, full_payload=True, m2n=True, |
| oldest_stable=True, **args_dict) |
| job.parallel_simple(run, machines) |