From da2366ddf75084857d1a5043f0e32ae3aa5c7d8ff20b2b494d5a2fd7452843d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Fri, 10 May 2024 07:50:13 +0000 Subject: [PATCH] Accepting request 1172907 from home:badshah400:lapack2023 Do not run tests in parallel to avoid random failures (gh#sherpa/sherpa#2031). OBS-URL: https://build.opensuse.org/request/show/1172907 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-sherpa?expand=0&rev=40 --- python-sherpa.changes | 6 ++++++ python-sherpa.spec | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/python-sherpa.changes b/python-sherpa.changes index 7e86b1c..4bc6800 100644 --- a/python-sherpa.changes +++ b/python-sherpa.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed May 8 19:28:20 UTC 2024 - Atri Bhattacharya + +- Do not run tests in parallel to avoid random failures + (gh#sherpa/sherpa#2031). + ------------------------------------------------------------------- Sun Feb 18 15:31:44 UTC 2024 - Ben Greiner diff --git a/python-sherpa.spec b/python-sherpa.spec index 7d87640..fe5f060 100644 --- a/python-sherpa.spec +++ b/python-sherpa.spec @@ -107,7 +107,8 @@ donttest+=" or (test_regproj and sherpa.plot.dummy_backend)" donttest+=" or (test_fit_single and Chi2XspecVar)" %endif donttest+=" or test_Griewank" -%pytest_arch %{?jobs:-n %jobs} --pyargs sherpa -k "not ($donttest)" +# Tests must not be run in parallel https://github.com/sherpa/sherpa/issues/2031 +%pytest_arch -n1 --pyargs sherpa -k "not ($donttest)" %post %python_install_alternative sherpa_smoke