From 8be02e0e38d5f7adb35f07612e0b53d2f8d206f5 Mon Sep 17 00:00:00 2001 From: Fergal Daly Date: Tue, 15 Jun 2021 03:15:13 +0000 Subject: [PATCH] Disable BluetoothShellApiTest.ApiSanityCheck it's failing on Mac. Bug: 1219861 Change-Id: I0fdc87d4f29905acaf18b29a07932e3a08228927 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2960706 Owners-Override: Fergal Daly Reviewed-by: Rakina Zata Amni Commit-Queue: Fergal Daly Cr-Commit-Position: refs/heads/master@{#892405} --- .../browser/api/bluetooth/bluetooth_appshell_test.cc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/extensions/browser/api/bluetooth/bluetooth_appshell_test.cc b/extensions/browser/api/bluetooth/bluetooth_appshell_test.cc index 6e1f3a5e58f85f..c2f2bfb740ddea 100644 --- a/extensions/browser/api/bluetooth/bluetooth_appshell_test.cc +++ b/extensions/browser/api/bluetooth/bluetooth_appshell_test.cc @@ -7,6 +7,12 @@ using BluetoothShellApiTest = extensions::ShellApiTest; -IN_PROC_BROWSER_TEST_F(BluetoothShellApiTest, ApiSanityCheck) { +// TODO(crbug.com/1165955): this test flakes on Mac ASAN +#if defined(OS_MAC) +#define MAYBE_ApiSanityCheck DISABLED_ApiSanityCheck +#else +#define MAYBE_ApiSanityCheck ApiSanityCheck +#endif +IN_PROC_BROWSER_TEST_F(BluetoothShellApiTest, MAYBE_ApiSanityCheck) { ASSERT_TRUE(RunAppTest("api_test/bluetooth")); }