Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(64)

Issue 2867203002: Linux native notifications: fix Tsan failure in NotifyAndCloseFormat (Closed)

Created:
3 years, 7 months ago by Tom (Use chromium acct)
Modified:
3 years, 7 months ago
Reviewers:
Lei Zhang
CC:
chromium-reviews, Peter Beverloo, mlamouri+watch-notifications_chromium.org, awdf+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Linux native notifications: fix Tsan failure in NotifyAndCloseFormat Gmock cannot have EXPECT_CALL's intersparsed with actual calls in a multithreaded environment. This CL changes NotificationPlatformBridgeLinuxTest to specify all EXPECT_CALL's before creating the task runner thread. BUG=719485 R=thestig@chromium.org Review-Url: https://codereview.chromium.org/2867203002 Cr-Commit-Position: refs/heads/master@{#470197} Committed: https://chromium.googlesource.com/chromium/src/+/cec16ad195ac43f821606e8e17e04e32d2539867

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -10 lines) Patch
M chrome/browser/notifications/notification_platform_bridge_linux_unittest.cc View 3 chunks +14 lines, -10 lines 0 comments Download

Messages

Total messages: 7 (3 generated)
Tom (Use chromium acct)
thestig ptal The alternative to this would be to get rid of BrowserThreadBundle like we ...
3 years, 7 months ago (2017-05-08 21:27:26 UTC) #1
Lei Zhang
lgtm I like keeping BrowserThreadBundle.
3 years, 7 months ago (2017-05-08 21:52:34 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2867203002/1
3 years, 7 months ago (2017-05-08 21:56:05 UTC) #4
commit-bot: I haz the power
3 years, 7 months ago (2017-05-09 04:20:24 UTC) #7
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/cec16ad195ac43f821606e8e17e0...

Powered by Google App Engine
This is Rietveld 408576698