From 7dbc0eb2efa4708da5e3e44d2a15bfdee4ceb474 Mon Sep 17 00:00:00 2001 From: Sebastian Jansson Date: Thu, 14 Mar 2019 16:06:30 +0100 Subject: [PATCH] Makes loss based controller test more robust. Current implementation of loss based controller has a sensitive filter. This CL increases the moderate loss rate to ensure robustness to small changes in network behavior. Bug: webrtc:10365 Change-Id: I0dcb5ba45904d8dda4c78b39bd13619523bc90ba Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/127901 Reviewed-by: Christoffer Rodbro Commit-Queue: Sebastian Jansson Cr-Commit-Position: refs/heads/master@{#27160} --- .../goog_cc/goog_cc_network_control_unittest.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/congestion_controller/goog_cc/goog_cc_network_control_unittest.cc b/modules/congestion_controller/goog_cc/goog_cc_network_control_unittest.cc index 4a8c759b88..152872993d 100644 --- a/modules/congestion_controller/goog_cc/goog_cc_network_control_unittest.cc +++ b/modules/congestion_controller/goog_cc/goog_cc_network_control_unittest.cc @@ -488,7 +488,7 @@ TEST_F(GoogCcNetworkControllerTest, LossBasedEstimatorCapsRateAtModerateLoss) { auto send_net = s.CreateSimulationNode([](NetworkNodeConfig* c) { c->simulation.bandwidth = DataRate::kbps(5000); c->simulation.delay = TimeDelta::ms(100); - c->simulation.loss_rate = 0.02; + c->simulation.loss_rate = 0.03; c->update_frequency = TimeDelta::ms(5); }); auto ret_net = s.CreateSimulationNode([](NetworkNodeConfig* c) {