blob: 996f225394f84a2cd10df8bd072948dcfd61b861 [file] [log] [blame]
# Copyright 2021 The ChromiumOS Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
AUTHOR = "vyshu@google.com, ChromiumOS"
NAME = "autoupdate_RejectDuplicateUpdate.full"
METADATA = {
"contacts": [
"chromeos-core-services@google.com",
"chromeos-sw-engprod@google.com"
],
"bug_component": "b:908319",
"criteria": "Tests duplicate repeated update."
}
TIME = "MEDIUM"
TEST_TYPE = "server"
ATTRIBUTES = "suite:au-perbuild"
DOC = """
This tests a repeated update by enabling the repeated updates feature.
It sends two updates with the same fingerprint value. Client side should reject
this as a duplicate update.
Refer to autoupdate_Basic's control.delta file for instructions on how to run
this test locally from your workstation.
"""
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_RejectDuplicateUpdate', host=host, **args_dict)
job.parallel_simple(run, machines)