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

Issue 42596: Fix a race in proxy_service_unittest.cc that was causing flakiness on purify b... (Closed)

Created:
11 years, 9 months ago by eroman
Modified:
9 years, 6 months ago
Reviewers:
wtc
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Fix a race in proxy_service_unittest.cc that was causing flakiness on purify build-bot. The issue is that the test helper "SyncProxyService" is deleting the underlying ProxyService from the main thread, it should instead be deleted from IO thread. Deleting from the main thread allows for a small window where deletion of ProxyService can begin while ProxyService::ProcessRequestsQueue() is still executing. BUG=8738 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=12523

Patch Set 1 #

Patch Set 2 : Fix some lines > 80 characters #

Total comments: 7

Patch Set 3 : Address wtc's second batch of comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+102 lines, -35 lines) Patch
M net/proxy/proxy_service_unittest.cc View 1 2 3 chunks +102 lines, -35 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
eroman
http://codereview.chromium.org/42596/diff/1002/1003 File net/proxy/proxy_service_unittest.cc (left): http://codereview.chromium.org/42596/diff/1002/1003#oldcode61 Line 61: class SyncProxyService { Note, I moved this class ...
11 years, 9 months ago (2009-03-25 09:27:38 UTC) #1
wtc
LGTM. I'm glad you tracked this down. http://codereview.chromium.org/42596/diff/1002/1003 File net/proxy/proxy_service_unittest.cc (right): http://codereview.chromium.org/42596/diff/1002/1003#newcode123 Line 123: void ...
11 years, 9 months ago (2009-03-25 18:21:14 UTC) #2
eroman
Thanks for the review. Will submit and address any other comments as follow-up. http://codereview.chromium.org/42596/diff/1002/1003 File ...
11 years, 9 months ago (2009-03-25 20:16:03 UTC) #3
wtc
11 years, 9 months ago (2009-03-25 21:36:26 UTC) #4
LGTM.  No other comments.

Powered by Google App Engine
This is Rietveld 408576698