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 5AUTHOR = "dhaddock, Chromium OS" 6NAME = "autoupdate_Cellular.delta" 7PURPOSE = "Test autoupdate over cellular with a delta payload." 8TIME = "SHORT" 9TEST_CATEGORY = "Functional" 10TEST_CLASS = "platform" 11TEST_TYPE = "server" 12# Disable until test can be fixed: http://b/163367994 13# ATTRIBUTES = "suite:cellular_au_nightly" 14DOC = """ 15This tests autoupdate over a cellular connection. 16 17To run locally you need to pass in a job_repo_url arg. This is used to tell 18the test what build it is running. In the lab this is setup when the DUT is 19provisioned. 20 21test_that <hostname>.cros autoupdate_Cellular.delta --args="job_repo_url='http://<IP>:<port>/static/<board>-release/RXX-XXXX.X.X/autotest/packages'" 22 23""" 24 25from autotest_lib.client.common_lib import utils 26 27args_dict = utils.args_to_dict(args) 28 29def run(machine): 30 host = hosts.create_host(machine) 31 job.run_test('autoupdate_Cellular', host=host, full_payload=False, 32 **args_dict) 33 34job.parallel_simple(run, machines) 35