commit:     a2bd474813435c55b8b9174408d9ecb44c9e2c1e
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 31 08:20:22 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Jul 31 09:05:27 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a2bd4748

dev-python/qiskit-terra: Speed the test suite up

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/qiskit-terra/qiskit-terra-0.24.1.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dev-python/qiskit-terra/qiskit-terra-0.24.1.ebuild 
b/dev-python/qiskit-terra/qiskit-terra-0.24.1.ebuild
index 21c1d9652825..9349a3d16269 100644
--- a/dev-python/qiskit-terra/qiskit-terra-0.24.1.ebuild
+++ b/dev-python/qiskit-terra/qiskit-terra-0.24.1.ebuild
@@ -189,10 +189,11 @@ python_test() {
        )
 
        rm -rf qiskit || die
+       local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
        # Run the Python test suite rather than everything under test/ which
        # includes the 'randomized' suite. Upstream run that in a separate CI 
job.
        # Note: use -p timeout --timeout 500 if debugging hanging tests.
-       epytest -p xdist -n "$(makeopts_jobs)" test/python
+       epytest -p xdist -n "$(makeopts_jobs)" --dist=worksteal test/python
 }
 
 pkg_postinst() {

Reply via email to