Merge pull request #12627 from donaldsharp/pim_igmp_vrf_micronet_failure

tests: the pim_igmp_vrf topotest fails under high load
This commit is contained in:
Christian Hopps 2023-01-12 08:59:28 -05:00 committed by GitHub
commit f3c0056017
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -166,6 +166,11 @@ def setup_module(module):
tgen = Topogen(build_topo, module.__name__) tgen = Topogen(build_topo, module.__name__)
tgen.start_topology() tgen.start_topology()
# Required linux kernel version for this suite to run.
result = required_linux_kernel_version("4.19")
if result is not True:
pytest.skip("Kernel requirements are not met")
vrf_setup_cmds = [ vrf_setup_cmds = [
"ip link add name blue type vrf table 11", "ip link add name blue type vrf table 11",
"ip link add name red type vrf table 12", "ip link add name red type vrf table 12",
@ -210,11 +215,6 @@ def test_ospf_convergence():
"Test for OSPFv2 convergence" "Test for OSPFv2 convergence"
tgen = get_topogen() tgen = get_topogen()
# Required linux kernel version for this suite to run.
result = required_linux_kernel_version("4.15")
if result is not True:
pytest.skip("Kernel requirements are not met")
# iproute2 needs to support VRFs for this suite to run. # iproute2 needs to support VRFs for this suite to run.
if not iproute2_is_vrf_capable(): if not iproute2_is_vrf_capable():
pytest.skip("Installed iproute2 version does not support VRFs") pytest.skip("Installed iproute2 version does not support VRFs")