summaryrefslogtreecommitdiffstats
path: root/test/test-network
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2024-08-31 09:28:14 +0200
committerLuca Boccassi <luca.boccassi@gmail.com>2024-08-31 12:24:56 +0200
commit7876f3d63a057f3d4c3f9daaef8815c8023e71e6 (patch)
tree68fd5572d57a1f9bb31b3e519a0b746f6cef621a /test/test-network
parentlabeler: set network label when tests for networkd or friends are updated (diff)
downloadsystemd-7876f3d63a057f3d4c3f9daaef8815c8023e71e6.tar.xz
systemd-7876f3d63a057f3d4c3f9daaef8815c8023e71e6.zip
test-network: use the same MTU bytes for veth interfaces
Hopefully fixes #34204.
Diffstat (limited to 'test/test-network')
-rwxr-xr-xtest/test-network/systemd-networkd-tests.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/test-network/systemd-networkd-tests.py b/test/test-network/systemd-networkd-tests.py
index 04ababe827..8a2c5af398 100755
--- a/test/test-network/systemd-networkd-tests.py
+++ b/test/test-network/systemd-networkd-tests.py
@@ -5734,12 +5734,14 @@ class NetworkdRATests(unittest.TestCase, Utilities):
self.check_ndisc_mtu(1410)
check_output('ip link set dev veth99 mtu 1600')
+ check_output('ip link set dev veth-peer mtu 1600')
self.check_ndisc_mtu(1410)
check_output(f'{test_ndisc_send} --interface veth-peer --type ra --lifetime 1hour --mtu 1700')
self.check_ndisc_mtu(1600)
check_output('ip link set dev veth99 mtu 1800')
+ check_output('ip link set dev veth-peer mtu 1800')
self.check_ndisc_mtu(1700)
def test_ipv6_token_prefixstable(self):