blob: ed86e102bc0314e4cc605911b4387ff70cfcb35d [file] [log] [blame]
# Copyright 2018 The ChromiumOS Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
AUTHOR = "dhaddock, ChromiumOS"
NAME = "autoupdate_OmahaResponse.backoff_enabled.full"
METADATA = {
"contacts": [
"chromeos-core-services@google.com",
"chromeos-sw-engprod@google.com"
],
"bug_component": "b:908319",
"criteria": "Tests second update attempt fails if backoff is enabled."
}
TIME = "MEDIUM"
TEST_TYPE = "server"
ATTRIBUTES = "suite:au-perbuild-omaha-response"
DOC = """
Test we cannot update when we fail the first attempt and backoff is enabled.
"""
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_OmahaResponse', host=host, full_payload=True,
test_backoff=True, backoff=True, **args_dict)
job.parallel_simple(run, machines)