From 1e1cbdc3d48bff352fb7620a3012f89c8c75854f Mon Sep 17 00:00:00 2001 From: zhenggen-xu Date: Mon, 19 Aug 2019 15:29:40 -0700 Subject: [PATCH] [test]: Adjust stale timer for warm-reboot neighborsync test cases (#1031) 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 165e2f267c1..1b958a1d845 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)