summaryrefslogtreecommitdiffstats
path: root/net/tools/quic/end_to_end_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'net/tools/quic/end_to_end_test.cc')
-rw-r--r--net/tools/quic/end_to_end_test.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/net/tools/quic/end_to_end_test.cc b/net/tools/quic/end_to_end_test.cc
index fe1bbd1..0c86d03 100644
--- a/net/tools/quic/end_to_end_test.cc
+++ b/net/tools/quic/end_to_end_test.cc
@@ -292,6 +292,11 @@ class EndToEndTest : public ::testing::TestWithParam<TestParams> {
bool Initialize() {
QuicTagVector copt;
+ if (GetParam().use_pacing) {
+ copt.push_back(kPACE);
+ }
+ server_config_.SetConnectionOptionsToSend(copt);
+
// TODO(nimia): Consider setting the congestion control algorithm for the
// client as well according to the test parameter.
copt.push_back(GetParam().congestion_control_tag);