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

Issue 2864043: Use TimedWait everywhere to prevent hangs. (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, tim (not reviewing), Paweł Hajdan Jr.
Visibility:
Public.

Description

Use TimedWait everywhere to prevent hangs. I'm having a hard time reproing this hang locally -- I ran the test for several days on windows with no hangs. So this change should prevent any individual test in this test from hanging and hopefully help provide some helpful info when it hangs again. And since the tests won't hang anymore, I believe we can make them FLAKY. BUG=39070 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=51980

Patch Set 1 #

Patch Set 2 : Fix typo. #

Patch Set 3 : Added TODOs explaining usage of FLAKY. #

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

Messages

Total messages: 11 (0 generated)
skrul
10 years, 5 months ago (2010-07-07 20:06:30 UTC) #1
Paweł Hajdan Jr.
Drive-by. Please *don't* do things like that. This just papers over the real issues and ...
10 years, 5 months ago (2010-07-07 20:08:29 UTC) #2
skrul
I don't plan on leaving things this way, rather this is to help me diagnose ...
10 years, 5 months ago (2010-07-07 20:14:54 UTC) #3
Paweł Hajdan Jr.
Could you try to borrow a trybot and attempt to reproduce the issue there? If ...
10 years, 5 months ago (2010-07-07 20:19:40 UTC) #4
skrul
I sent this change to the windows build bot a few times, we'll see if ...
10 years, 5 months ago (2010-07-07 22:23:56 UTC) #5
skrul
So I've run this 7 times on the win trybots and so far it has ...
10 years, 5 months ago (2010-07-08 15:55:05 UTC) #6
Paweł Hajdan Jr.
Okay, let's do it that way: please *borrow* a trybot (read internal wiki or ask ...
10 years, 5 months ago (2010-07-08 15:57:25 UTC) #7
Paweł Hajdan Jr.
The advantage of having trybot for a while is that you can compile it once, ...
10 years, 5 months ago (2010-07-08 16:01:15 UTC) #8
tim (not reviewing)
Steve has been trying to repro this manually for many days now, on private machines ...
10 years, 5 months ago (2010-07-08 16:07:21 UTC) #9
Paweł Hajdan Jr.
Oh, looks like I may be more disturbing here than really helping. Yeah, feel free ...
10 years, 5 months ago (2010-07-08 16:16:34 UTC) #10
tim (not reviewing)
10 years, 5 months ago (2010-07-08 22:26:19 UTC) #11
LGTM

Powered by Google App Engine
This is Rietveld 408576698