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 'components': ['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" 21# See chromium:337726 for ongoing work to remove the experimental tag. 22TEST_CLASS = 'platform' 23TEST_CATEGORY = 'Functional' 24TEST_TYPE = 'client' 25JOB_RETRIES = 2 26 27job.run_test('p2p_ServeFiles') 28 29