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.backoff_enabled.full" 7PURPOSE = "Tests second update attempt fails if backoff is enabled." 8TIME = "MEDIUM" 9TEST_CATEGORY = "Functional" 10TEST_CLASS = "platform" 11TEST_TYPE = "server" 12ATTRIBUTES = "suite:au-perbuild" 13PY_VERSION = 3 14DOC = """ 15Test we cannot update when we fail the first attempt and backoff is enabled. 16""" 17 18from autotest_lib.client.common_lib import utils 19 20args_dict = utils.args_to_dict(args) 21 22def run(machine): 23 host = hosts.create_host(machine) 24 job.run_test('autoupdate_OmahaResponse', host=host, full_payload=True, 25 test_backoff=True, backoff=True, **args_dict) 26 27job.parallel_simple(run, machines) 28