Fix flaky ramp-up test.
Don't require the first estimate to be less than the target bitrate. There are other tests verifying that BWE works, so it's enough for this test to measure the time it takes to ramp-up. R=mflodman@webrtc.org Review URL: https://webrtc-codereview.appspot.com/20979004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@6764 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
parent
5ff71ab4b3
commit
f24c4a3b8d
@ -99,7 +99,6 @@ void StreamObserver::OnReceiveBitrateChanged(
|
||||
// start bitrate, but due to the BWE implementation we can't guarantee the
|
||||
// first estimate really is as high as the start bitrate.
|
||||
EXPECT_GT(bitrate, 0.9 * start_bitrate_bps_);
|
||||
EXPECT_LT(bitrate, expected_bitrate_bps_);
|
||||
start_bitrate_bps_ = 0;
|
||||
}
|
||||
if (bitrate >= expected_bitrate_bps_) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user