mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-07-26 00:00:50 +00:00
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:
parent
7fef8d39b5
commit
97f14c5e5e
@ -84,6 +84,9 @@ def test_check_scale_up():
|
|||||||
CliOnFail = None
|
CliOnFail = None
|
||||||
# For debugging, uncomment the next line
|
# For debugging, uncomment the next line
|
||||||
# CliOnFail = 'tgen.mininet_cli'
|
# 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')"
|
CheckFunc = "ltemplateVersionCheck('4.1', iproute2='4.9')"
|
||||||
# uncomment next line to start cli *before* script is run
|
# uncomment next line to start cli *before* script is run
|
||||||
# CheckFunc = 'ltemplateVersionCheck(\'4.1\', cli=True, iproute2=\'4.9\')'
|
# CheckFunc = 'ltemplateVersionCheck(\'4.1\', cli=True, iproute2=\'4.9\')'
|
||||||
@ -94,6 +97,9 @@ def test_check_scale_down():
|
|||||||
CliOnFail = None
|
CliOnFail = None
|
||||||
# For debugging, uncomment the next line
|
# For debugging, uncomment the next line
|
||||||
# CliOnFail = 'tgen.mininet_cli'
|
# 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')"
|
CheckFunc = "ltemplateVersionCheck('4.1', iproute2='4.9')"
|
||||||
# uncomment next line to start cli *before* script is run
|
# uncomment next line to start cli *before* script is run
|
||||||
# CheckFunc = 'ltemplateVersionCheck(\'4.1\', cli=True, iproute2=\'4.9\')'
|
# CheckFunc = 'ltemplateVersionCheck(\'4.1\', cli=True, iproute2=\'4.9\')'
|
||||||
|
Loading…
Reference in New Issue
Block a user