Commit 5121fb3e authored by WC Leung's avatar WC Leung Committed by Commit Bot

Enable ProfileAttributesStorageTest.LoadAvatarFromDiskTest on Linux ASAN

The captioned test is now fixed, so we enable the test again.
This is a revert of https://chromium-review.googlesource.com/827006.

Bug: 794821
Change-Id: Icabf8e2fed02d0b2c3220af7e1a1001afbaadbfd
Reviewed-on: https://chromium-review.googlesource.com/883821Reviewed-by: default avatarLei Zhang <thestig@chromium.org>
Reviewed-by: default avatarBernhard Bauer <bauerb@chromium.org>
Commit-Queue: Bernhard Bauer <bauerb@chromium.org>
Cr-Commit-Position: refs/heads/master@{#532034}
parent 8ea75e87
...@@ -791,14 +791,7 @@ TEST_F(ProfileAttributesStorageTest, NothingToDownloadHighResAvatarTest) { ...@@ -791,14 +791,7 @@ TEST_F(ProfileAttributesStorageTest, NothingToDownloadHighResAvatarTest) {
EXPECT_EQ(0U, storage()->avatar_images_downloads_in_progress_.size()); EXPECT_EQ(0U, storage()->avatar_images_downloads_in_progress_.size());
} }
// Flaky on Linux ASAN. http://crbug.com/794821. TEST_F(ProfileAttributesStorageTest, LoadAvatarFromDiskTest) {
#if defined(OS_LINUX) && defined(ADDRESS_SANITIZER)
#define MAYBE_LoadAvatarFromDiskTest DISABLED_LoadAvatarFromDiskTest
#else
#define MAYBE_LoadAvatarFromDiskTest LoadAvatarFromDiskTest
#endif
TEST_F(ProfileAttributesStorageTest, MAYBE_LoadAvatarFromDiskTest) {
const size_t kIconIndex = 0; const size_t kIconIndex = 0;
base::FilePath icon_path = base::FilePath icon_path =
profiles::GetPathOfHighResAvatarAtIndex(kIconIndex); profiles::GetPathOfHighResAvatarAtIndex(kIconIndex);
......
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