| # Copyright 2020 The ChromiumOS Authors |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| AUTHOR = "kyleshima, ChromiumOS" |
| NAME = "autoupdate_FromUI.full" |
| METADATA = { |
| "contacts": [ |
| "chromeos-core-services@google.com", |
| "chromeos-sw-engprod@google.com" |
| ], |
| "bug_component": "b:908319", |
| "criteria": "Tests updating from the UI." |
| } |
| TIME = "MEDIUM" |
| TEST_TYPE = "server" |
| ATTRIBUTES = "suite:au-perbuild-chrome" |
| DOC = """ |
| This tests that an update can be triggered by clicking the 'Check for updates' |
| button in the ChromeOS Settings app. |
| |
| Refer to autopudate_Basic's control.delta file for instructions on how to run |
| this test locally from your workstation. |
| |
| """ |
| |
| 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_FromUI', host=host, full_payload=True, |
| **args_dict) |
| |
| job.parallel_simple(run, machines) |