From dd2da503cdad1f75cd9539f47e9d308a3f2a26f5 Mon Sep 17 00:00:00 2001 From: nguggarigoud Date: Fri, 18 Sep 2020 15:10:54 +0530 Subject: tests: Optimising a step for not true case. 1. Optimising a step for not true case. 2. Fixing a timing issue in route calculation script. Signed-off-by: nguggarigoud --- tests/topotests/ospf_basic_functionality/test_ospf_lan.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/topotests/ospf_basic_functionality/test_ospf_lan.py') diff --git a/tests/topotests/ospf_basic_functionality/test_ospf_lan.py b/tests/topotests/ospf_basic_functionality/test_ospf_lan.py index 968cb608e8..f261104206 100644 --- a/tests/topotests/ospf_basic_functionality/test_ospf_lan.py +++ b/tests/topotests/ospf_basic_functionality/test_ospf_lan.py @@ -431,7 +431,7 @@ def test_ospf_lan_tc1_p0(request): intf = topo["routers"]["r0"]["links"]["s1"]["interface"] shutdown_bringup_interface(tgen, dut, intf, False) - result = verify_ospf_neighbor(tgen, topo, dut, lan=True) + result = verify_ospf_neighbor(tgen, topo, dut, lan=True, expected=False) assert result is not True, "Testcase {} : Failed \n Error: {}".format( tc_name, result ) -- cgit v1.2.3