blob: 5c4ee9cefb2caeaf343eb629835067b3c35ddd65 [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_P2P.with_dlc"
METADATA = {
"contacts": [
"chromeos-core-services@google.com",
"chromeos-sw-engprod@google.com"
],
"bug_component": "b:908319",
"criteria": "Tests autoupdate via peer to peer(P2P)."
}
TIME = "MEDIUM"
TEST_TYPE = "server"
ATTRIBUTES = "suite:au-p2p"
JOB_RETRIES = 2
DOC = """
This tests autoupdate between two devices via peer to peer.
Since the test uses two different DUTs in the lab together it is more
difficult to debug at your desk.
Use the control.local to run this test locally.
"""
def run(machine):
host = hosts.create_host(machine)
companions = hosts.create_companion_hosts(companion_hosts)
job.run_test('autoupdate_P2P', host=host, companions=companions,
with_dlc=True)
job.parallel_simple(run, machines)