commit | b0aa180d5f459f0bc3ca7c1e2d4f6a2c3767d12d | [log] [tgz] |
---|---|---|
author | Howard Chung <[email protected]> | Tue Dec 29 12:23:06 2020 +0800 |
committer | Commit Bot <[email protected]> | Wed Dec 30 15:31:57 2020 +0000 |
tree | 6ecb92de77a103ed5d81689008344aabc4b02657 | |
parent | 2167d36da223b9dae9c2699d46caab77fe205fce [diff] |
bluetooth: Skip advmon pattern filter tests on problematic boards In the platform such as Scarlet Dru and Blooglet that powers down the controller during suspend resume, tests like advmon pattern filter failed because bluez removes adv monitors when controller is down. This skips the test on those problematic boards. BUG=b:153091855 TEST=run bluetooth_AdapterAdvMonitor.advmon_pattern_filter_tests on dru Change-Id: I5d61bfa611689950ca940298fe5963fe627c0d15 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/autotest/+/2605036 Reviewed-by: Archie Pusaka <[email protected]> Commit-Queue: Yun-Hao Chung <[email protected]> Tested-by: Yun-Hao Chung <[email protected]>
diff --git a/server/site_tests/bluetooth_AdapterAdvMonitor/bluetooth_AdapterAdvMonitor.py b/server/site_tests/bluetooth_AdapterAdvMonitor/bluetooth_AdapterAdvMonitor.py index a4f94ac..40724b2 100644 --- a/server/site_tests/bluetooth_AdapterAdvMonitor/bluetooth_AdapterAdvMonitor.py +++ b/server/site_tests/bluetooth_AdapterAdvMonitor/bluetooth_AdapterAdvMonitor.py
@@ -35,8 +35,12 @@ self.advmon_test_monitor_validity() + # TODO(b/150897528) - Dru loses firmware around suspend, which causes bluez + # removes all the monitors. @test_wrapper('Pattern Filter Tests', - devices={'BLE_KEYBOARD':1, 'BLE_MOUSE':1}) + devices={'BLE_KEYBOARD':1, 'BLE_MOUSE':1}, + skip_models=['dru'], + skip_chipsets=SUSPEND_POWER_DOWN_CHIPSETS) def advmon_pattern_filter_tests(self): """Tests monitor functionality for pattern filter only.""" self.advmon_test_pattern_filter_only()