summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMark Stapp <mjs.ietf@gmail.com>2025-03-21 11:30:16 -0400
committerGitHub <noreply@github.com>2025-03-21 11:30:16 -0400
commit556d3c445d63ffc62e35f2d7b2b41ef5df9906d7 (patch)
tree4f1e21d2825e917df68430f0ce8f8f85dae252c9 /tests
parent797e0512224f039de54a7d64f73947ff26be9527 (diff)
parent860c1e445043c6e380a9fb08cc0c21c6339625ad (diff)
Merge pull request #18359 from soumyar-roy/soumya/streamsize
zebra: zebra crash for zapi stream
Diffstat (limited to 'tests')
-rw-r--r--tests/topotests/high_ecmp/test_high_ecmp_unnumbered.py11
-rw-r--r--tests/topotests/high_ecmp/test_high_ecmp_v4.py11
-rw-r--r--tests/topotests/high_ecmp/test_high_ecmp_v6.py11
3 files changed, 24 insertions, 9 deletions
diff --git a/tests/topotests/high_ecmp/test_high_ecmp_unnumbered.py b/tests/topotests/high_ecmp/test_high_ecmp_unnumbered.py
index 1a65a44a55..0947272386 100644
--- a/tests/topotests/high_ecmp/test_high_ecmp_unnumbered.py
+++ b/tests/topotests/high_ecmp/test_high_ecmp_unnumbered.py
@@ -78,13 +78,18 @@ def setup_module(module):
(TopoRouter.RD_ZEBRA, "-s 180000000"),
(TopoRouter.RD_BGP, None),
(TopoRouter.RD_SHARP, None),
+ (TopoRouter.RD_STATIC, None),
+ (TopoRouter.RD_OSPF, None),
+ (TopoRouter.RD_OSPF6, None),
+ (TopoRouter.RD_PIM, None),
],
)
-
+
tgen.start_router()
-
+
for rname, router in router_list.items():
- router.cmd("vtysh -f {}/{}/frr_unnumbered_bgp.conf".format(CWD, rname))
+ router.cmd("vtysh -f {}/{}/frr_unnumbered_bgp.conf".format(CWD, rname))
+
def teardown_module(_mod):
"Teardown the pytest environment"
diff --git a/tests/topotests/high_ecmp/test_high_ecmp_v4.py b/tests/topotests/high_ecmp/test_high_ecmp_v4.py
index c1fbb9e878..909c9d6528 100644
--- a/tests/topotests/high_ecmp/test_high_ecmp_v4.py
+++ b/tests/topotests/high_ecmp/test_high_ecmp_v4.py
@@ -78,13 +78,18 @@ def setup_module(module):
(TopoRouter.RD_ZEBRA, "-s 180000000"),
(TopoRouter.RD_BGP, None),
(TopoRouter.RD_SHARP, None),
+ (TopoRouter.RD_STATIC, None),
+ (TopoRouter.RD_OSPF, None),
+ (TopoRouter.RD_OSPF6, None),
+ (TopoRouter.RD_PIM, None),
],
)
-
+
tgen.start_router()
-
+
for rname, router in router_list.items():
- router.cmd("vtysh -f {}/{}/frr_ipv4_bgp.conf".format(CWD, rname))
+ router.cmd("vtysh -f {}/{}/frr_ipv4_bgp.conf".format(CWD, rname))
+
def teardown_module(_mod):
"Teardown the pytest environment"
diff --git a/tests/topotests/high_ecmp/test_high_ecmp_v6.py b/tests/topotests/high_ecmp/test_high_ecmp_v6.py
index a63444f0f0..cb4c93f590 100644
--- a/tests/topotests/high_ecmp/test_high_ecmp_v6.py
+++ b/tests/topotests/high_ecmp/test_high_ecmp_v6.py
@@ -78,13 +78,18 @@ def setup_module(module):
(TopoRouter.RD_ZEBRA, "-s 180000000"),
(TopoRouter.RD_BGP, None),
(TopoRouter.RD_SHARP, None),
+ (TopoRouter.RD_STATIC, None),
+ (TopoRouter.RD_OSPF, None),
+ (TopoRouter.RD_OSPF6, None),
+ (TopoRouter.RD_PIM, None),
],
)
-
+
tgen.start_router()
-
+
for rname, router in router_list.items():
- router.cmd("vtysh -f {}/{}/frr_ipv6_bgp.conf".format(CWD, rname))
+ router.cmd("vtysh -f {}/{}/frr_ipv6_bgp.conf".format(CWD, rname))
+
def teardown_module(_mod):
"Teardown the pytest environment"