Index: components/domain_reliability/context_unittest.cc |
diff --git a/components/domain_reliability/context_unittest.cc b/components/domain_reliability/context_unittest.cc |
index ccbccacce9eaa45dceddb09415fa1e41e65fbb30..df4dc5fe9ad80e427815b463aa857cf631984b51 100644 |
--- a/components/domain_reliability/context_unittest.cc |
+++ b/components/domain_reliability/context_unittest.cc |
@@ -214,7 +214,7 @@ TEST_F(DomainReliabilityContextTest, ReportUpload) { |
"\"network_changed\":false,\"protocol\":\"HTTP\"," |
"\"request_age_ms\":300250,\"request_elapsed_ms\":250," |
"\"server_ip\":\"127.0.0.1\",\"status\":\"tcp.connection_reset\"," |
- "\"url\":\"https://localhost/\",\"was_proxied\":false}]," |
+ "\"url\":\"https://localhost/\",\"was_proxied\":false,\"weight\":1}]," |
jkarlin
2015/12/07 14:57:27
A weight of 1 isn't testing that division is happe
Deprecated (see juliatuttle)
2015/12/07 20:17:57
Acknowledged.
|
"\"reporter\":\"test-reporter\"}"; |
time_.Advance(max_delay()); |
@@ -244,7 +244,7 @@ TEST_F(DomainReliabilityContextTest, Upload_NetworkChanged) { |
"\"network_changed\":true,\"protocol\":\"HTTP\"," |
"\"request_age_ms\":300250,\"request_elapsed_ms\":250," |
"\"server_ip\":\"127.0.0.1\",\"status\":\"tcp.connection_reset\"," |
- "\"url\":\"https://localhost/\",\"was_proxied\":false}]," |
+ "\"url\":\"https://localhost/\",\"was_proxied\":false,\"weight\":1}]," |
"\"reporter\":\"test-reporter\"}"; |
// Simulate a network change after the request but before the upload. |