1# Copyright 2020 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 5AUTHOR = 'chromeos-bluetooth' 6NAME = 'bluetooth_AdapterAdvHealth.adv_broadcast_test' 7PURPOSE = 'Test broadcast advertising capabilities.' 8CRITERIA = 'Adapter should advertise with correct parameters.' 9ATTRIBUTES = 'suite:bluetooth_flaky' 10TIME = 'SHORT' # ~2 minutes on hatch 11MAX_RESULT_SIZE_KB = 128000 12TEST_CATEGORY = 'Functional' 13TEST_CLASS = 'bluetooth' 14TEST_TYPE = 'server' 15DEPENDENCIES = 'bluetooth' 16 17DOC = """ 18Validate that we can register an advertisement that uses the 'broadcast' mode, 19which may configure alternate advertising intervals, and uses a random 20address. 21""" 22 23def run(machine): 24 host = hosts.create_host(machine) 25 job.run_test('bluetooth_AdapterAdvHealth', host=host, num_iterations=1, 26 test_name=NAME.split('.')[1], peer_required=False) 27 28parallel_simple(run, machines) 29