Chromium Code Reviews| Index: webrtc/modules/congestion_controller/probe_controller_unittest.cc |
| diff --git a/webrtc/modules/congestion_controller/probe_controller_unittest.cc b/webrtc/modules/congestion_controller/probe_controller_unittest.cc |
| index 693277552c6e0d9c1e506fa0021096dda5e2dba9..d4b6d0d746c22d835a9f19d76e94dca687afe87f 100644 |
| --- a/webrtc/modules/congestion_controller/probe_controller_unittest.cc |
| +++ b/webrtc/modules/congestion_controller/probe_controller_unittest.cc |
| @@ -53,9 +53,10 @@ TEST_F(ProbeControllerTest, InitiatesProbingOnMaxBitrateIncrease) { |
| EXPECT_CALL(pacer_, CreateProbeCluster(_, _)).Times(AtLeast(2)); |
| probe_controller_->SetBitrates(kMinBitrateBps, kStartBitrateBps, |
| kMaxBitrateBps); |
| - clock_.AdvanceTimeMilliseconds(25); |
| - |
| + // Long enough to time out exponential probing. |
| + clock_.AdvanceTimeMilliseconds(5000); |
|
stefan-webrtc
2016/09/16 07:31:01
Make 5000 a constant of ProbeController.
Irfan
2016/09/16 16:26:28
Done.
|
| probe_controller_->SetEstimatedBitrate(kStartBitrateBps); |
| + |
| EXPECT_CALL(pacer_, CreateProbeCluster(kMaxBitrateBps + 100, _)); |
| probe_controller_->SetBitrates(kMinBitrateBps, kStartBitrateBps, |
| kMaxBitrateBps + 100); |