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 c6165915d0a85c065cb7046894f1b63d4aeeb598..3c912772235a13b94b705de1f1cb2e2855e50089 100644 |
--- a/webrtc/modules/pacing/alr_detector_unittest.cc |
+++ b/webrtc/modules/pacing/alr_detector_unittest.cc |
@@ -61,12 +61,12 @@ TEST_F(AlrDetectorTest, AlrDetection) { |
SimulateOutgoingTraffic(500, 20); |
EXPECT_TRUE(alr_detector_.GetApplicationLimitedRegionStartTime()); |
- // Verify that we remain in ALR state while usage is still below 50%. |
- SimulateOutgoingTraffic(500, 40); |
+ // Verify that we remain in ALR state while usage is still below 70%. |
+ SimulateOutgoingTraffic(500, 69); |
EXPECT_TRUE(alr_detector_.GetApplicationLimitedRegionStartTime()); |
- // Verify that ALR ends when usage is above 50%. |
- SimulateOutgoingTraffic(500, 60); |
+ // Verify that ALR ends when usage is above 70%. |
+ SimulateOutgoingTraffic(500, 75); |
EXPECT_FALSE(alr_detector_.GetApplicationLimitedRegionStartTime()); |
} |
@@ -85,8 +85,8 @@ TEST_F(AlrDetectorTest, ShortSpike) { |
SimulateOutgoingTraffic(200, 20); |
EXPECT_TRUE(alr_detector_.GetApplicationLimitedRegionStartTime()); |
- // ALR ends when usage is above 50%. |
- SimulateOutgoingTraffic(500, 60); |
+ // ALR ends when usage is above 70%. |
+ SimulateOutgoingTraffic(500, 75); |
EXPECT_FALSE(alr_detector_.GetApplicationLimitedRegionStartTime()); |
} |