summaryrefslogtreecommitdiff
path: root/tests/topotests/ospf_basic_functionality/test_ospf_lan.py
diff options
context:
space:
mode:
authorRuss White <russ@riw.us>2023-05-02 10:25:46 -0400
committerGitHub <noreply@github.com>2023-05-02 10:25:46 -0400
commitccf08bda1a48cd7f62961eb1fbb29b0096964ac2 (patch)
tree3cfeb484d59f25596828e5263b1ffdf8fed3f24f /tests/topotests/ospf_basic_functionality/test_ospf_lan.py
parentcdfc536f767b2ae136bcf5003361867a229e5d29 (diff)
parent7a59014e7d327b184de1d8ec9fb897026eb22f1f (diff)
Merge pull request #13377 from donaldsharp/ospf_dead_interval
tests: Increase the dead interval to be longer for neighbor testing
Diffstat (limited to 'tests/topotests/ospf_basic_functionality/test_ospf_lan.py')
-rw-r--r--tests/topotests/ospf_basic_functionality/test_ospf_lan.py14
1 files changed, 9 insertions, 5 deletions
diff --git a/tests/topotests/ospf_basic_functionality/test_ospf_lan.py b/tests/topotests/ospf_basic_functionality/test_ospf_lan.py
index e4a032018c..1358027f21 100644
--- a/tests/topotests/ospf_basic_functionality/test_ospf_lan.py
+++ b/tests/topotests/ospf_basic_functionality/test_ospf_lan.py
@@ -196,8 +196,10 @@ def test_ospf_lan_tc1_p0(request):
result = verify_ospf_neighbor(tgen, topo, dut, input_dict, lan=True)
assert result is True, "Testcase {} : Failed \n Error: {}".format(tc_name, result)
- step("Configure DR priority 100 on R0 and clear ospf neighbors "
- "on all the routers.")
+ step(
+ "Configure DR priority 100 on R0 and clear ospf neighbors "
+ "on all the routers."
+ )
input_dict = {
"r0": {
@@ -233,8 +235,10 @@ def test_ospf_lan_tc1_p0(request):
result = verify_ospf_neighbor(tgen, topo, dut, input_dict, lan=True)
assert result is True, "Testcase {} : Failed \n Error: {}".format(tc_name, result)
- step("Configure DR priority 150 on R0 and clear ospf neighbors "
- "on all the routers.")
+ step(
+ "Configure DR priority 150 on R0 and clear ospf neighbors "
+ "on all the routers."
+ )
input_dict = {
"r0": {
@@ -489,7 +493,7 @@ def test_ospf_lan_tc2_p0(request):
"s1": {
"ospf": {
"priority": 98,
- "timerDeadSecs": 4,
+ "timerDeadSecs": 10,
"area": "0.0.0.3",
"mcastMemberOspfDesignatedRouters": True,
"mcastMemberOspfAllRouters": True,