Home | History | Annotate | Download | only in autoupdate_OmahaResponse
      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 
      5 AUTHOR = "dhaddock, Chromium OS"
      6 NAME = "autoupdate_OmahaResponse.backoff_disabled.full"
      7 TIME = "MEDIUM"
      8 PURPOSE = "Tests second update attempt succeeds if backoff is disabled."
      9 TEST_CATEGORY = "Functional"
     10 TEST_CLASS = "platform"
     11 TEST_TYPE = "server"
     12 ATTRIBUTES = "suite:au-perbuild"
     13 DOC = """
     14 Test we can update when we fail the first attempt and backoff is disabled.
     15 """
     16 
     17 from autotest_lib.client.common_lib import utils
     18 
     19 args_dict = utils.args_to_dict(args)
     20 
     21 def run(machine):
     22     host = hosts.create_host(machine)
     23     job.run_test('autoupdate_OmahaResponse', host=host, full_payload=True,
     24                  test_backoff=True, backoff=False, **args_dict)
     25 
     26 job.parallel_simple(run, machines)
     27