neutron: reduce parallelism to 2 jobs
same is done in neutron gate I4de4b089e615353b7fde82bd54e0abefa244c8ab Change-Id: I4ec7156a028e2cf0abd49a3b2a8c515b5f5656c6
This commit is contained in:
parent
e0c8b448dd
commit
3f4d92b5c6
@ -415,12 +415,7 @@ exit 0
|
||||
%check
|
||||
# don't want to depend on hacking for package building
|
||||
rm neutron/tests/unit/hacking/test_checks.py
|
||||
%if 0%{?suse_version}
|
||||
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
|
||||
python3 -m stestr.cli --test-path neutron/tests/unit run --concurrency 2 --black-regex '(neutron.tests.unit.objects|neutron.tests.unit.plugins)'
|
||||
|
||||
%post
|
||||
%tmpfiles_create %{_tmpfilesdir}/%{name}.conf
|
||||
|
Loading…
Reference in New Issue
Block a user