Home | History | Annotate | Download | only in p2p_ConsumeFiles
      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 
      5 TIME='FAST'
      6 AUTHOR = 'deymo,zeuthen,chromeos-installer'
      7 BUG_TEMPLATE = {
      8     'cc': ['chromeos-installer-alerts (a] google.com'],
      9     'labels': ['Cr-Internals-Installer'],
     10 }
     11 
     12 DOC = """\
     13 This test runs p2p-client on several common cases using a fake network of peers
     14 to check that it can discover files on this network. If p2p-client isn't able
     15 to discover and return URLs in this environment the test will fail. Among the
     16 tested scenarios, a case where p2p-client should hang (because there are too
     17 many connections) is included.
     18 """
     19 NAME = 'p2p_ConsumeFiles'
     20 PURPOSE = 'Check that P2P can discover peers and download from them.'
     21 CRITERIA = 'Fails if p2p-client is not able to discover and get the URLs.'
     22 ATTRIBUTES = "suite:bvt-cq"
     23 SUITE = 'bvt-cq'
     24 TEST_CLASS = 'platform'
     25 TEST_CATEGORY = 'Functional'
     26 TEST_TYPE = 'client'
     27 JOB_RETRIES = 2
     28 
     29 job.run_test('p2p_ConsumeFiles')
     30