From 4db8b37641f04db8083a8e7898771154d595ed21 Mon Sep 17 00:00:00 2001 From: Zhenggen Xu Date: Fri, 16 Aug 2019 16:36:06 -0700 Subject: [PATCH] Adjust stale timer for warm-reboot neighborsync test cases Increase the stale timer to "600" seconds so it won't be aged out in case the test server is busy or slow Signed-off-by: Zhenggen Xu --- tests/test_warm_reboot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_warm_reboot.py b/tests/test_warm_reboot.py index 165e2f267c..1b958a1d84 100644 --- a/tests/test_warm_reboot.py +++ b/tests/test_warm_reboot.py @@ -1823,8 +1823,8 @@ def test_system_warmreboot_neighbor_syncup(self, dvs, testlog): # bring servers' interface up, save the macs dvs.runcmd("sysctl -w net.ipv4.neigh.Ethernet{}.base_reachable_time_ms=1800000".format(i*4)) dvs.runcmd("sysctl -w net.ipv6.neigh.Ethernet{}.base_reachable_time_ms=1800000".format(i*4)) - dvs.runcmd("sysctl -w net.ipv4.neigh.Ethernet{}.gc_stale_time=180".format(i*4)) - dvs.runcmd("sysctl -w net.ipv6.neigh.Ethernet{}.gc_stale_time=180".format(i*4)) + dvs.runcmd("sysctl -w net.ipv4.neigh.Ethernet{}.gc_stale_time=600".format(i*4)) + dvs.runcmd("sysctl -w net.ipv6.neigh.Ethernet{}.gc_stale_time=600".format(i*4)) dvs.runcmd("ip addr flush dev Ethernet{}".format(i*4)) intf_tbl.set("Ethernet{}|{}.0.0.1/24".format(i*4, i*4), fvs) intf_tbl.set("Ethernet{}|{}00::1/64".format(i*4, i*4), fvs)