blob: 7b3c01c06dd116844e0b453395e78dd94e049c34 [file] [log] [blame]
From 1e19dfa6fd56667a408af328364b494ef5be9ad4 Mon Sep 17 00:00:00 2001
From: Susant Sahani <ssahani@gmail.com>
Date: Thu, 17 Aug 2023 23:49:32 +0530
Subject: [PATCH 2/3] CI: network - Add test for route TCP RTO
---
test/test-network/conf/25-route-congctl.network | 2 ++
test/test-network/systemd-networkd-tests.py | 1 +
2 files changed, 3 insertions(+)
diff --git a/test/test-network/conf/25-route-congctl.network b/test/test-network/conf/25-route-congctl.network
index f924d73cd9..2af783ad14 100644
--- a/test/test-network/conf/25-route-congctl.network
+++ b/test/test-network/conf/25-route-congctl.network
@@ -10,7 +10,9 @@ Address=149.10.124.58/28
[Route]
Destination=2001:1234:5:8fff:ff:ff:ff:ff/128
TCPCongestionControlAlgorithm=dctcp
+TCPRetransmissionTimeOutSec=300s
[Route]
Destination=149.10.124.66
TCPCongestionControlAlgorithm=dctcp
+TCPRetransmissionTimeOutSec=300s
diff --git a/test/test-network/systemd-networkd-tests.py b/test/test-network/systemd-networkd-tests.py
index 77251336ea..4dc73e08f9 100755
--- a/test/test-network/systemd-networkd-tests.py
+++ b/test/test-network/systemd-networkd-tests.py
@@ -2915,6 +2915,7 @@ class NetworkdNetworkTests(unittest.TestCase, Utilities):
print(output)
self.assertIn('149.10.124.66 proto static', output)
self.assertIn('congctl dctcp', output)
+ self.assertIn('rto_min 300s', output)
@expectedFailureIfModuleIsNotAvailable('vrf')
def test_route_vrf(self):
--
2.42.0.869.gea05f2083d-goog