Commit 3a20efb6 authored by Ioana Pandele's avatar Ioana Pandele Committed by Commit Bot

[Sheriff] Disable DeviceLocalAccountTest.DataIsRemoved on ASan, LSan

TBR=estade@chromium.org

Bug: 1004228
Change-Id: I1ac3a8dc1bad8b53a02dd83648337f1355f8c552
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1806873Reviewed-by: default avatarIoana Pandele <ioanap@chromium.org>
Commit-Queue: Ioana Pandele <ioanap@chromium.org>
Cr-Commit-Position: refs/heads/master@{#696760}
parent 73ecbd2f
...@@ -906,7 +906,14 @@ IN_PROC_BROWSER_TEST_F(DeviceLocalAccountTest, PRE_DataIsRemoved) { ...@@ -906,7 +906,14 @@ IN_PROC_BROWSER_TEST_F(DeviceLocalAccountTest, PRE_DataIsRemoved) {
given_name_update->SetKey("sanity.check@example.com", base::Value("Anne")); given_name_update->SetKey("sanity.check@example.com", base::Value("Anne"));
} }
IN_PROC_BROWSER_TEST_F(DeviceLocalAccountTest, DataIsRemoved) { // Disabled on ASan and LSAn builds due to a consistent failure. See
// crbug.com/1004228
#if defined(ADDRESS_SANITIZER) || defined(LEAK_SANITIZER)
#define MAYBE_DataIsRemoved DISABLED_DataIsRemoved
#else
#define MAYBE_DataIsRemoved DataIsRemoved
#endif
IN_PROC_BROWSER_TEST_F(DeviceLocalAccountTest, MAYBE_DataIsRemoved) {
// The device local account should have been removed. // The device local account should have been removed.
EXPECT_FALSE(g_browser_process->local_state() EXPECT_FALSE(g_browser_process->local_state()
->GetDictionary("UserGivenName") ->GetDictionary("UserGivenName")
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment