summaryrefslogtreecommitdiff
path: root/tests/topotests/ospf_basic_functionality/test_ospf_lan.py
diff options
context:
space:
mode:
authornguggarigoud <nguggarigoud@vmware.com>2020-09-18 15:10:54 +0530
committernguggarigoud <nguggarigoud@vmware.com>2020-09-18 15:13:46 +0530
commitdd2da503cdad1f75cd9539f47e9d308a3f2a26f5 (patch)
treef4db8c16a57347ba346ebe70cf29d086bea6976e /tests/topotests/ospf_basic_functionality/test_ospf_lan.py
parentb29a56b3aec67708d545b3665cf64f3ffe782818 (diff)
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 <nguggarigoud@vmware.com>
Diffstat (limited to 'tests/topotests/ospf_basic_functionality/test_ospf_lan.py')
-rw-r--r--tests/topotests/ospf_basic_functionality/test_ospf_lan.py2
1 files changed, 1 insertions, 1 deletions
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
)