blob: b98587f64823f4d61d84ca1d88cf98ea1f000502 [file] [log] [blame]
# Copyright 2022 The ChromiumOS Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# This test verifies the adapter can be reset without affecting WiFi component.
#
# Steps:
# 1. Connect the DUT to the AP
# 2. Verify the connection with ping
# 3. Spawn an asynchronous ping to the background
# 4. Reset the BT adapter
# 5. Verify the background ping doesn't fail
#
# Purpose: Verify the adapter can be reset without affecting WiFi component
# Deprecated variables:
# TIME = 'short'
from autotest_lib.server import utils
NAME = 'bluetooth_WiFiCoexHealth.independent_reset_test'
METADATA = {
'contacts': ['chromeos-bt-team@google.com'],
# ChromeOS > Platform > Connectivity > Bluetooth
'bug_component': 'b:167317',
'criteria': (
'The Bluetooth adapter can be reset without affecting WiFi component'),
'hw_agnostic': False,
'requirements': ['bt-phy-0011-v01']
}
ATTRIBUTES = 'suite:bluetooth_wifi_coex'
TEST_TYPE = 'Server'
DEPENDENCIES = 'wificell, bluetooth_state:NORMAL'
args_dict = utils.args_to_dict(args)
def run(machine):
host = hosts.create_host(machine)
job.run_test('bluetooth_WiFiCoexHealth', host=host, num_iterations=1,
args_dict=args_dict, test_name=NAME.split('.')[1],
tag='.'.join(NAME.split('.')[1:]))
parallel_simple(run, machines)