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

Unified Diff: components/domain_reliability/context_unittest.cc

Issue 284283002: Domain Reliability: Omit empty, 0-count resources from uploads (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 6 years, 7 months 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 | « components/domain_reliability/context.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/domain_reliability/context_unittest.cc
diff --git a/components/domain_reliability/context_unittest.cc b/components/domain_reliability/context_unittest.cc
index bcd1ac67be398c5f4d50e60f3173791945172625..95b10a7088e22faa03726436828bc07d778fd143 100644
--- a/components/domain_reliability/context_unittest.cc
+++ b/components/domain_reliability/context_unittest.cc
@@ -198,9 +198,7 @@ TEST_F(DomainReliabilityContextTest, ReportUpload) {
"\"resource_reports\":[{\"beacons\":[{\"http_response_code\":200,"
"\"request_age_ms\":300250,\"request_elapsed_ms\":250,\"server_ip\":"
"\"127.0.0.1\",\"status\":\"ok\"}],\"failed_requests\":0,"
- "\"resource_name\":\"always_report\",\"successful_requests\":1},"
- "{\"beacons\":[],\"failed_requests\":0,\"resource_name\":"
- "\"never_report\",\"successful_requests\":0}]}";
+ "\"resource_name\":\"always_report\",\"successful_requests\":1}]}";
time_.Advance(max_delay());
EXPECT_TRUE(upload_pending());
« no previous file with comments | « components/domain_reliability/context.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698