]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
test-network: Add test for bond peer_notif_delay 31498/head
authorSusant Sahani <ssahani@vmware.com>
Mon, 26 Feb 2024 13:35:12 +0000 (19:05 +0530)
committerSusant Sahani <ssahani@vmware.com>
Wed, 28 Feb 2024 12:04:54 +0000 (17:34 +0530)
test/test-network/conf/25-bond-property.netdev
test/test-network/systemd-networkd-tests.py

index 6e4043fcd678c7f3a8799950a9679842f242e3cb..3954689587932f77148d7c40a5c320a4aaa59437 100644 (file)
@@ -7,3 +7,4 @@ Mode=active-backup
 PrimaryReselectPolicy=always
 MIIMonitorSec=1s
 ARPMissedMax=10
+PeerNotifyDelaySec=300s
index ab5f95b72afa9635e970e0df32d4f80f330a9bd6..6b7a9262fe3273b04063cb67c071a9262704ee46 100755 (executable)
@@ -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',