Removing bad code resulting in flaky test.

BUG=1723
R=niklas.enbom@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/1390004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@3941 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
pwestin@webrtc.org 2013-05-02 21:02:04 +00:00
parent 52b4e8871a
commit 42636e82d0

View File

@ -431,9 +431,12 @@ void ViEAutoTest::ViERtpRtcpStandardTest()
EXPECT_EQ(0, ViE.rtp_rtcp->GetBandwidthUsage(
tbChannel.videoChannel, sentTotalBitrate, sentVideoBitrate,
sentFecBitrate, sentNackBitrate));
if (FLAGS_include_timing_dependent_tests) {
EXPECT_EQ(sentTotalBitrate, 0u);
}
// TODO(pwestin): This is incorrect due to the fact that we measure the bitrate
// before the pacer and not after.
//
// if (FLAGS_include_timing_dependent_tests) {
// EXPECT_EQ(sentTotalBitrate, 0u);
// }
// Network reception back. Video should now be sent.
ViETest::Log("Network Up...\n");
ViE.network->SetNetworkTransmissionState(tbChannel.videoChannel, true);