Index: webrtc/api/rtcstatscollector_unittest.cc |
diff --git a/webrtc/api/rtcstatscollector_unittest.cc b/webrtc/api/rtcstatscollector_unittest.cc |
index 2d2059b93ef22c2dac8f52cfdb4dabd679767099..b973044c94751582d187dbc112f02703b1ff06c8 100644 |
--- a/webrtc/api/rtcstatscollector_unittest.cc |
+++ b/webrtc/api/rtcstatscollector_unittest.cc |
@@ -1006,7 +1006,8 @@ TEST_F(RTCStatsCollectorTest, CollectRTCIceCandidatePairStats) { |
connection_info.recv_total_bytes = 1234; |
connection_info.rtt = 1337; |
connection_info.recv_ping_requests = 2020; |
- connection_info.sent_ping_requests_total = 1010; |
+ connection_info.sent_ping_requests_total = 2020; |
+ connection_info.sent_ping_requests_before_first_response = 2000; |
connection_info.recv_ping_responses = 4321; |
connection_info.sent_ping_responses = 1000; |
@@ -1041,9 +1042,10 @@ TEST_F(RTCStatsCollectorTest, CollectRTCIceCandidatePairStats) { |
expected_pair.bytes_received = 1234; |
expected_pair.current_rtt = 1.337; |
expected_pair.requests_received = 2020; |
- expected_pair.requests_sent = 1010; |
+ expected_pair.requests_sent = 2000; |
expected_pair.responses_received = 4321; |
expected_pair.responses_sent = 1000; |
+ expected_pair.consent_requests_sent = (2020 - 2000); |
EXPECT_TRUE(report->Get(expected_pair.id())); |
EXPECT_EQ( |