From 3f4d92b5c6a9472da30e2a24adbf20e98707993e Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Mon, 18 Oct 2021 01:12:54 +0200 Subject: [PATCH] neutron: reduce parallelism to 2 jobs same is done in neutron gate I4de4b089e615353b7fde82bd54e0abefa244c8ab Change-Id: I4ec7156a028e2cf0abd49a3b2a8c515b5f5656c6 --- openstack/neutron/neutron.spec.j2 | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/openstack/neutron/neutron.spec.j2 b/openstack/neutron/neutron.spec.j2 index 617c56a9d..24f3c2530 100644 --- a/openstack/neutron/neutron.spec.j2 +++ b/openstack/neutron/neutron.spec.j2 @@ -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