Index: webrtc/modules/pacing/alr_detector_unittest.cc |
diff --git a/webrtc/modules/pacing/alr_detector_unittest.cc b/webrtc/modules/pacing/alr_detector_unittest.cc |
index e1a78103dfa235b8333b1529af6fbe59267b43b9..9f1998b617bb753a6aba57c99b26eb33c51f9786 100644 |
--- a/webrtc/modules/pacing/alr_detector_unittest.cc |
+++ b/webrtc/modules/pacing/alr_detector_unittest.cc |
@@ -86,7 +86,7 @@ TEST_F(AlrDetectorTest, AlrDetection) { |
// Verify that we ALR starts when bitrate drops below 20%. |
SimulateOutgoingTrafficIn(&alr_detector_) |
- .ForTimeMs(1000) |
+ .ForTimeMs(1500) |
.AtPercentOfEstimatedBitrate(20); |
EXPECT_TRUE(alr_detector_.GetApplicationLimitedRegionStartTime()); |
@@ -109,7 +109,7 @@ TEST_F(AlrDetectorTest, ShortSpike) { |
// Verify that we stay in ALR region even after a short bitrate spike. |
SimulateOutgoingTrafficIn(&alr_detector_) |
- .ForTimeMs(200) |
+ .ForTimeMs(100) |
.AtPercentOfEstimatedBitrate(150); |
EXPECT_TRUE(alr_detector_.GetApplicationLimitedRegionStartTime()); |