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

Issue 2991003: Fix race condition in test Pause method. (Closed)

Created:
10 years, 5 months ago by skrul
Modified:
9 years, 7 months ago
CC:
chromium-reviews, ncarter (slow), ben+cc_chromium.org, Raghu Simha, idana, Paweł Hajdan Jr., tim (not reviewing)
Visibility:
Public.

Description

Fix race condition in test Pause method. Acquire a lock on the syncer thread vault before setting listener expectations so it is not possilbe to get a notification while setting expectations. BUG=39070 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=52395

Patch Set 1 #

Patch Set 2 : Reenable test. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -15 lines) Patch
M chrome/browser/sync/engine/syncer_thread_unittest.cc View 1 4 chunks +14 lines, -15 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
skrul
10 years, 5 months ago (2010-07-14 02:04:00 UTC) #1
tim (not reviewing)
10 years, 5 months ago (2010-07-14 03:31:19 UTC) #2
LG

Powered by Google App Engine
This is Rietveld 408576698