Chromium Code Reviews
[email protected] (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(395)

Issue 3431028: Remove flakiness from url_info tests... (Closed)

Created:
10 years, 3 months ago by jar (doing other things)
Modified:
9 years, 7 months ago
Reviewers:
Paweł Hajdan Jr.
CC:
chromium-reviews, cbentzel+watch_chromium.org, Paweł Hajdan Jr., darin-cc_chromium.org, ben+cc_chromium.org
Visibility:
Public.

Description

Remove flakiness from url_info tests This test was testing to be sure that timing was correctly monitored during the lifetime of these UrlHostInfo instances. The new code defensively checks values, and when tehy appear to be out of spec, it verifies that the test bot is indeed running slowly, and exits. This will usually run the test as expected, but gracefully exit when the bot is just too slow (or has too much variance in execution speed) to run the test carefully. r=phajdan.jr BUG=55169 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=60962

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 9

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+46 lines, -39 lines) Patch
M chrome/browser/net/url_info.h View 1 2 3 4 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/net/url_info.cc View 1 2 3 4 2 chunks +9 lines, -3 lines 0 comments Download
M chrome/browser/net/url_info_unittest.cc View 3 chunks +34 lines, -35 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
jar (doing other things)
10 years, 2 months ago (2010-09-27 22:57:58 UTC) #1
Paweł Hajdan Jr.
Thanks for working on this. I think it needs much more work though. At some ...
10 years, 2 months ago (2010-09-28 08:20:01 UTC) #2
jar (doing other things)
I don't believe it is reasonable to mock time. The problem is that with "slow" ...
10 years, 2 months ago (2010-09-28 16:23:24 UTC) #3
Paweł Hajdan Jr.
I see. Just one remaining thing blocking this review. Note there are two things there: ...
10 years, 2 months ago (2010-09-29 08:32:07 UTC) #4
jar (doing other things)
Responding to comments by Pawel. Sorry the other upload didn't have the changes. It pushed ...
10 years, 2 months ago (2010-09-29 16:30:36 UTC) #5
Paweł Hajdan Jr.
10 years, 2 months ago (2010-09-29 16:35:43 UTC) #6
LGTM

Powered by Google App Engine
This is Rietveld 408576698