summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorSusant Sahani <ssahani@gmail.com>2023-08-17 20:19:32 +0200
committerSusant Sahani <ssahani@gmail.com>2023-08-17 20:19:32 +0200
commit1791956e9cde718df52aacc48a3a038c0f4cf908 (patch)
tree028815332377b6eb0b7aa1bc34072760cb9df451 /test
parentnetwork: Route - allow to set TCP RTO (diff)
downloadsystemd-1791956e9cde718df52aacc48a3a038c0f4cf908.tar.xz
systemd-1791956e9cde718df52aacc48a3a038c0f4cf908.zip
CI: network - Add test for route TCP RTO
Diffstat (limited to 'test')
-rw-r--r--test/test-network/conf/25-route-congctl.network2
-rwxr-xr-xtest/test-network/systemd-networkd-tests.py1
2 files changed, 3 insertions, 0 deletions
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 07afe354f7..cc10bdfc96 100755
--- a/test/test-network/systemd-networkd-tests.py
+++ b/test/test-network/systemd-networkd-tests.py
@@ -3175,6 +3175,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):