blob: da8e1542bc9db9bb7c995b0c5d2ba4bdb3d02b7f [file] [log] [blame] [edit]
# Copyright (c) 2013 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
TIME='FAST'
AUTHOR = 'deymo,zeuthen,chromeos-installer'
DOC = """\
This test runs p2p-client on several common cases using a fake network of peers
to check that it can discover files on this network. If p2p-client isn't able
to discover and return URLs in this environment the test will fail. Among the
tested scenarios, a case where p2p-client should hang (because there are too
many connections) is included.
"""
NAME = 'p2p_ConsumeFiles'
PURPOSE = 'Check that P2P can discover peers and download from them.'
CRITERIA = 'Fails if p2p-client is not able to discover and get the URLs.'
SUITE = 'bvt'
TEST_CLASS = 'platform'
TEST_CATEGORY = 'Functional'
TEST_TYPE = 'client'
job.run_test('p2p_ConsumeFiles')