[functional][CI] split tests in more runs
With some CI nodes which runs with 4 CPU we seeing random failures in functional jobs as some processes getting oom-killed. With this patch splitting tests in more runs so memory not remain utilized till completion of all the tests. Related-Bug: #2091855 Change-Id: I01bd8eb72aa5545b072bccec4a75f6062529b1c5
This commit is contained in:
parent
79067358f4
commit
a475aefdcb
3
tox.ini
3
tox.ini
@ -87,7 +87,8 @@ setenv = {[testenv:dsvm-functional]setenv}
|
||||
deps = {[testenv:dsvm-functional]deps}
|
||||
commands =
|
||||
bash {toxinidir}/tools/deploy_rootwrap.sh {toxinidir} {envdir}/etc {envdir}/bin
|
||||
stestr run --slowest --exclude-regex (.*MySQL\.|.*test_get_all_devices|.*TestMetadataAgent\.|.*BaseOVSTestCase\.|.*test_periodic_sync_routers_task) {posargs}
|
||||
stestr run --slowest --exclude-regex (.*MySQL\.|.*test_get_all_devices|.*TestMetadataAgent\.|.*BaseOVSTestCase\.|.*test_periodic_sync_routers_task) neutron.tests.functional.agent.l3 {posargs}
|
||||
stestr run --slowest --combine --exclude-regex (.*MySQL\.|.*test_get_all_devices|.*TestMetadataAgent\.|.*BaseOVSTestCase\.|.*test_periodic_sync_routers_task|neutron.tests.functional.agent.l3.*) {posargs}
|
||||
stestr run --slowest --combine --concurrency 1 (.*MySQL\.|.*test_get_all_devices|.*TestMetadataAgent\.|.*BaseOVSTestCase\.|.*test_periodic_sync_routers_task) {posargs}
|
||||
|
||||
[testenv:dsvm-fullstack]
|
||||
|
Loading…
x
Reference in New Issue
Block a user