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 5from autotest_lib.server import utils 6 7AUTHOR = 'chromeos-bluetooth' 8NAME = 'bluetooth_AdapterAdvMonitor.advmon_interleaved_scan' 9PURPOSE = ('batch of Bluetooth Advertisement Monitor tests') 10CRITERIA = 'All tests should pass' 11TIME = 'MEDIUM' 12TEST_CATEGORY = 'Functional' 13ATTRIBUTES = 'suite:bluetooth_flaky' 14TEST_CLASS = 'bluetooth' 15TEST_TYPE = 'server' 16DEPENDENCIES = 'bluetooth, working_bluetooth_btpeer:1' 17 18DOC = """ Tests interleave scan. """ 19 20args_dict = utils.args_to_dict(args) 21 22def run(machine): 23 host = hosts.create_host(machine) 24 job.run_test('bluetooth_AdapterAdvMonitor', 25 host=host, 26 num_iterations=1, 27 args_dict=args_dict, 28 test_name=NAME.split('.')[1]) 29 30parallel_simple(run, machines) 31