diff options
author | Susant Sahani <ssahani@vmware.com> | 2024-02-26 14:35:12 +0100 |
---|---|---|
committer | Susant Sahani <ssahani@vmware.com> | 2024-02-28 13:04:54 +0100 |
commit | de736b9658c119cefc29eefa9ada336e808f900d (patch) | |
tree | 48c0c80da784f19a1f10cb5241c5760220ea9097 /test | |
parent | netdev: bond - add support for peer_notif_delay (diff) | |
download | systemd-de736b9658c119cefc29eefa9ada336e808f900d.tar.xz systemd-de736b9658c119cefc29eefa9ada336e808f900d.zip |
test-network: Add test for bond peer_notif_delay
Diffstat (limited to 'test')
-rw-r--r-- | test/test-network/conf/25-bond-property.netdev | 1 | ||||
-rwxr-xr-x | test/test-network/systemd-networkd-tests.py | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/test/test-network/conf/25-bond-property.netdev b/test/test-network/conf/25-bond-property.netdev index 6e4043fcd6..3954689587 100644 --- a/test/test-network/conf/25-bond-property.netdev +++ b/test/test-network/conf/25-bond-property.netdev @@ -7,3 +7,4 @@ Mode=active-backup PrimaryReselectPolicy=always MIIMonitorSec=1s ARPMissedMax=10 +PeerNotifyDelaySec=300s diff --git a/test/test-network/systemd-networkd-tests.py b/test/test-network/systemd-networkd-tests.py index ab5f95b72a..6b7a9262fe 100755 --- a/test/test-network/systemd-networkd-tests.py +++ b/test/test-network/systemd-networkd-tests.py @@ -1517,6 +1517,7 @@ class NetworkdNetDevTests(unittest.TestCase, Utilities): print(output) self.check_link_attr('bond97', 'bonding', 'arp_missed_max', '10') + self.check_link_attr('bond97', 'bonding', 'peer_notif_delay', '300000') def test_vlan(self): copy_network_unit('21-vlan.netdev', '11-dummy.netdev', |