tests: Skip bgp_l3vpn vrf tests on 32bit systems

Tests may fail because of limited memory on 32bit system

Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
This commit is contained in:
Martin Winter 2024-09-05 15:57:27 +02:00
parent 7fef8d39b5
commit 97f14c5e5e
No known key found for this signature in database
GPG Key ID: 05A4ECF8C0102306

View File

@ -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\')'
@ -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\')'