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

Unified Diff: net/base/dnsrr_resolver_unittest.cc

Issue 11464028: Introduce ERR_NETWORK_CHANGED and allow URLFetcher to automatically retry on that error. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixed nits Created 8 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/base/dnsrr_resolver.cc ('k') | net/base/host_resolver_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/dnsrr_resolver_unittest.cc
diff --git a/net/base/dnsrr_resolver_unittest.cc b/net/base/dnsrr_resolver_unittest.cc
index cc6e80b725cc0bd3e09a24e0880d4e0c301d823b..0b67b65f94a67a3d6879a64ec45f0f2b58e71d77 100644
--- a/net/base/dnsrr_resolver_unittest.cc
+++ b/net/base/dnsrr_resolver_unittest.cc
@@ -97,7 +97,7 @@ TEST(DnsRRResolverTest, Resolve) {
ASSERT_TRUE(handle != DnsRRResolver::kInvalidHandle);
resolver.OnIPAddressChanged();
ASSERT_TRUE(callback.have_result());
- ASSERT_EQ(ERR_ABORTED, callback.WaitForResult());
+ ASSERT_EQ(ERR_NETWORK_CHANGED, callback.WaitForResult());
ASSERT_EQ(4u, resolver.requests());
ASSERT_EQ(2u, resolver.cache_hits());
ASSERT_EQ(0u, resolver.inflight_joins());
« no previous file with comments | « net/base/dnsrr_resolver.cc ('k') | net/base/host_resolver_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698