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

Issue 164350: Remove the unittest "DnsMasterTest.OsCachesLookupsTest".... (Closed)

Created:
11 years, 4 months ago by eroman
Modified:
9 years, 6 months ago
CC:
chromium-reviews_googlegroups.com, darin (slow to review), brettw, willchan no longer on Chromium, Ben Goodger (Google)
Visibility:
Public.

Description

Remove the unittest "DnsMasterTest.OsCachesLookupsTest". This test was checking that the system host resolver maintains an internal cache, by doing actual DNS resolves (which introduces a network dependency in the unit tests). This could be flaky on linux, which doesn't cache resolves. As of r18236 however, chromium maintains its own host cache. So the DNS prefetcher does not need to rely on the OS caching DNS resolves in order to be a win. BUG=http://crbug.com/18766 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=23239

Patch Set 1 #

Patch Set 2 : Add moar comment #

Patch Set 3 : Fix #

Patch Set 4 : Fix a line that was too long #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -76 lines) Patch
M chrome/browser/net/dns_master_unittest.cc View 1 2 3 4 chunks +5 lines, -72 lines 0 comments Download
M net/base/mock_host_resolver.cc View 1 chunk +1 line, -4 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
eroman
11 years, 4 months ago (2009-08-11 22:27:33 UTC) #1
jar (doing other things)
11 years, 4 months ago (2009-08-12 21:48:08 UTC) #2
LGTM

Powered by Google App Engine
This is Rietveld 408576698