• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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.deadline_expired.delta"
7PURPOSE = "Test autoupdate via peer to peer(P2P)."
8TIME = "MEDIUM"
9TEST_CATEGORY = "Functional"
10TEST_CLASS = "platform"
11TEST_TYPE = "server"
12ATTRIBUTES = "suite:au-p2p"
13PY_VERSION = 3
14DOC = """
15This tests autoupdate between two devices via peer to peer is disabled when
16deadline has expired.
17
18"""
19
20def run(machine):
21    host = hosts.create_host(machine)
22    companions = hosts.create_companion_hosts(companion_hosts)
23    job.run_test('autoupdate_P2P', host=host, companions=companions,
24                 deadline_expired=True)
25
26job.parallel_simple(run, machines)
27
28