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_OmahaResponse.url_switch.full" 7PURPOSE = "Test update continues on the second Url when it fails the first." 8TIME = "MEDIUM" 9TEST_CATEGORY = "Functional" 10TEST_CLASS = "platform" 11TEST_TYPE = "server" 12ATTRIBUTES = "suite:au-perbuild" 13DOC = """ 14This tests that we move to the second Url when we fail with the first Url. 15""" 16 17from autotest_lib.client.common_lib import utils 18 19args_dict = utils.args_to_dict(args) 20 21def run(machine): 22 host = hosts.create_host(machine) 23 job.run_test('autoupdate_OmahaResponse', host=host, full_payload=True, 24 switch_urls=True, **args_dict) 25 26job.parallel_simple(run, machines) 27