Merge "neutron: reduce parallelism to 2 jobs"
This commit is contained in:
commit
650b6c0403
@ -415,12 +415,7 @@ exit 0
|
|||||||
%check
|
%check
|
||||||
# don't want to depend on hacking for package building
|
# don't want to depend on hacking for package building
|
||||||
rm neutron/tests/unit/hacking/test_checks.py
|
rm neutron/tests/unit/hacking/test_checks.py
|
||||||
%if 0%{?suse_version}
|
python3 -m stestr.cli --test-path neutron/tests/unit run --concurrency 2 --black-regex '(neutron.tests.unit.objects|neutron.tests.unit.plugins)'
|
||||||
python3 -m stestr.cli --test-path neutron/tests/unit run
|
|
||||||
%else
|
|
||||||
# NOTE(jpena): Reduce the number of unit tests, we have issues when testing time goes > 1h
|
|
||||||
python3 -m stestr.cli --test-path neutron/tests/unit run --black-regex '(neutron.tests.unit.objects|neutron.tests.unit.plugins)'
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%tmpfiles_create %{_tmpfilesdir}/%{name}.conf
|
%tmpfiles_create %{_tmpfilesdir}/%{name}.conf
|
||||||
|
Loading…
Reference in New Issue
Block a user