Bug fixes of ProfileAttributesStorageTest.LoadAvatarFromDiskTest
The captioned test was disabled in Linux ASAN because of flakiness. Two possible causes were identified: - Possible race between DownloadHighResAvatarTest and LoadAvatarFromDiskTest because the path returned by GetPathOfHighResAvatarAtIndex is not inside the unique temp directory. - The directory holding the test icon is not created before running base::WriteFile. This CL fixes the above issues, and changed "const char* bitmap" to "const char bitmap[]" because of issue 795518. Bug: 794821, 795518 Change-Id: I0deb2c8acddea86fb94ca27a363afa132f0ac6fc Reviewed-on: https://chromium-review.googlesource.com/868411Reviewed-by:Lei Zhang <thestig@chromium.org> Reviewed-by:
Bernhard Bauer <bauerb@chromium.org> Reviewed-by:
Scott Violet <sky@chromium.org> Commit-Queue: WC Leung <lwchkg@chromium.org> Cr-Commit-Position: refs/heads/master@{#531370}
Showing
Please register or sign in to comment