1# Copyright (c) 2013 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
5TIME='FAST'
6AUTHOR = 'deymo,zeuthen,chromeos-installer'
7BUG_TEMPLATE = {
8    'cc': ['chromeos-installer-alerts@google.com'],
9    'labels': ['Cr-Internals-Installer'],
10}
11
12DOC = """\
13This test runs the p2p-server daemon which in turns runs the p2p-http-server
14daemon on the DUT and checks that a peer on the network can download a shared
15file but, for security reasons, localhost can't.
16"""
17NAME = 'p2p_ServeFiles'
18PURPOSE = 'Check that p2p-http-server daemon serves files over HTTP.'
19CRITERIA = "Fails if the DUT can't serve a HTTP request from the network."
20ATTRIBUTES = "suite:bvt-cq"
21SUITE = 'bvt-cq'
22# See chromium:337726 for ongoing work to remove the experimental tag.
23TEST_CLASS = 'platform'
24TEST_CATEGORY = 'Functional'
25TEST_TYPE = 'client'
26JOB_RETRIES = 2
27
28job.run_test('p2p_ServeFiles')
29
30