Skip to content

Commit

Permalink
Merge pull request #16752 from opensourcerouting/skip_scale_on_32bit
Browse files Browse the repository at this point in the history
tests: Skip bgp_l3vpn vrf tests on 32bit systems
  • Loading branch information
donaldsharp authored Sep 5, 2024
2 parents 5d9ddcc + 97f14c5 commit ade1d8a
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,9 @@ def test_check_scale_up():
CliOnFail = None
# For debugging, uncomment the next line
# CliOnFail = 'tgen.mininet_cli'
# Skip test on 32bit platforms (limited memory)
if sys.maxsize <= 2**32:
pytest.skip("skipped because of limited memory on 32bit platforms")
CheckFunc = "ltemplateVersionCheck('4.1', iproute2='4.9')"
# uncomment next line to start cli *before* script is run
# CheckFunc = 'ltemplateVersionCheck(\'4.1\', cli=True, iproute2=\'4.9\')'
Expand All @@ -94,6 +97,9 @@ def test_check_scale_down():
CliOnFail = None
# For debugging, uncomment the next line
# CliOnFail = 'tgen.mininet_cli'
# Skip test on 32bit platforms (limited memory)
if sys.maxsize <= 2**32:
pytest.skip("skipped because of limited memory on 32bit platforms")
CheckFunc = "ltemplateVersionCheck('4.1', iproute2='4.9')"
# uncomment next line to start cli *before* script is run
# CheckFunc = 'ltemplateVersionCheck(\'4.1\', cli=True, iproute2=\'4.9\')'
Expand Down

0 comments on commit ade1d8a

Please sign in to comment.