summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/topotests/ospf_basic_functionality/ospf_lan.json10
-rw-r--r--tests/topotests/ospf_basic_functionality/test_ospf_lan.py14
2 files changed, 14 insertions, 10 deletions
diff --git a/tests/topotests/ospf_basic_functionality/ospf_lan.json b/tests/topotests/ospf_basic_functionality/ospf_lan.json
index 126934c344..54863382b2 100644
--- a/tests/topotests/ospf_basic_functionality/ospf_lan.json
+++ b/tests/topotests/ospf_basic_functionality/ospf_lan.json
@@ -18,7 +18,7 @@
"ospf": {
"area": "0.0.0.3",
"hello_interval": 1,
- "dead_interval": 4,
+ "dead_interval": 10,
"priority": 98
}
},
@@ -27,7 +27,7 @@
"ospf": {
"area": "0.0.0.3",
"hello_interval": 1,
- "dead_interval": 4,
+ "dead_interval": 10,
"priority": 99
}
},
@@ -36,7 +36,7 @@
"ospf": {
"area": "0.0.0.3",
"hello_interval": 1,
- "dead_interval": 4,
+ "dead_interval": 10,
"priority": 0
}
},
@@ -45,7 +45,7 @@
"ospf": {
"area": "0.0.0.3",
"hello_interval": 1,
- "dead_interval": 4,
+ "dead_interval": 10,
"priority": 0
}
}
@@ -135,4 +135,4 @@
}
}
}
-} \ No newline at end of file
+}
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,