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 p2p-client on several common cases using a fake network of peers 14to check that it can discover files on this network. If p2p-client isn't able 15to discover and return URLs in this environment the test will fail. Among the 16tested scenarios, a case where p2p-client should hang (because there are too 17many connections) is included. 18""" 19NAME = 'p2p_ConsumeFiles' 20PURPOSE = 'Check that P2P can discover peers and download from them.' 21CRITERIA = 'Fails if p2p-client is not able to discover and get the URLs.' 22ATTRIBUTES = "suite:bvt-perbuild" 23TEST_CLASS = 'platform' 24TEST_CATEGORY = 'Functional' 25TEST_TYPE = 'client' 26JOB_RETRIES = 2 27 28job.run_test('p2p_ConsumeFiles') 29