Index: webrtc/video/end_to_end_tests.cc |
diff --git a/webrtc/video/end_to_end_tests.cc b/webrtc/video/end_to_end_tests.cc |
index 6ed3c4715fb12b991a3e3ed2150c45e9dbc3c7b2..84399bacb051ce80cbeeafe20d560b1c5b4c0d18 100644 |
--- a/webrtc/video/end_to_end_tests.cc |
+++ b/webrtc/video/end_to_end_tests.cc |
@@ -1944,6 +1944,7 @@ void EndToEndTest::VerifyHistogramStats(bool use_rtx, bool use_red) { |
RunBaseTest(&test, FakeNetworkPipe::Config()); |
// Delete the call for Call stats to be reported. |
+ sender_call_.reset(); |
receiver_call_.reset(); |
// Verify that stats have been updated once. |
@@ -1952,6 +1953,9 @@ void EndToEndTest::VerifyHistogramStats(bool use_rtx, bool use_red) { |
EXPECT_EQ(1, |
test::NumHistogramSamples("WebRTC.Call.RtcpBitrateReceivedInBps")); |
EXPECT_EQ(1, test::NumHistogramSamples("WebRTC.Call.BitrateReceivedInKbps")); |
+ EXPECT_EQ( |
+ 1, test::NumHistogramSamples("WebRTC.Call.EstimatedSendBitrateInKbps")); |
+ EXPECT_EQ(1, test::NumHistogramSamples("WebRTC.Call.PacerBitrateInKbps")); |
EXPECT_EQ(1, test::NumHistogramSamples( |
"WebRTC.Video.NackPacketsSentPerMinute")); |