xref: /aosp_15_r20/external/autotest/server/site_tests/autoupdate_P2P/control.with_dlc (revision 9c5db1993ded3edbeafc8092d69fe5de2ee02df7)
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_P2P.with_dlc"
7PURPOSE = "Test autoupdate via peer to peer(P2P)."
8TIME = "MEDIUM"
9TEST_CATEGORY = "Functional"
10TEST_CLASS = "platform"
11TEST_TYPE = "server"
12ATTRIBUTES = "suite:au-p2p"
13JOB_RETRIES = 2
14PY_VERSION = 3
15DOC = """
16This tests autoupdate between two devices via peer to peer.
17
18Since the test uses two different DUTs in the lab together it is more
19difficult to debug at your desk.
20
21Use the control.local to run this test locally.
22
23"""
24
25def run(machine):
26    host = hosts.create_host(machine)
27    companions = hosts.create_companion_hosts(companion_hosts)
28    job.run_test('autoupdate_P2P', host=host, companions=companions,
29                 with_dlc=True)
30
31job.parallel_simple(run, machines)
32