Commit af5e1805 authored by Fergus Dall's avatar Fergus Dall

Sheriff: Disable RelaunchNotificationControllerTest.PolicyUnset on TSAN build

TBR=grt@chromium.org

Bug: 1004568
Change-Id: Ia54998fa290e42b5b13b83d9d65d86e8f093a9b8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1808285Reviewed-by: default avatarFergus Dall <sidereal@google.com>
Cr-Commit-Position: refs/heads/master@{#697026}
parent d83802b7
......@@ -197,7 +197,14 @@ TEST_F(RelaunchNotificationControllerTest, CreateDestroy) {
// Without the browser.relaunch_notification preference set, the controller
// should not be observing the UpgradeDetector, and should therefore never
// attempt to show any notifications.
TEST_F(RelaunchNotificationControllerTest, PolicyUnset) {
// TODO(1004568) Disabled due to race condition.
#if defined(THREAD_SANATIZER)
#define MAYBE_PolicyUnset DISABLED_PolicyUnset
#else
#define MAYBE_PolicyUnset PolicyUnset
#endif
TEST_F(RelaunchNotificationControllerTest, MAYBE_PolicyUnset) {
::testing::StrictMock<MockControllerDelegate> mock_controller_delegate;
FakeRelaunchNotificationController controller(
......
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