14
0
forked from pool/python-pylint

Accepting request 1090184 from home:bnavigator:branches:devel:languages:python

- Update test setup: rerun flaky pyreverse tests

OBS-URL: https://build.opensuse.org/request/show/1090184
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pylint?expand=0&rev=148
This commit is contained in:
2023-06-01 11:16:52 +00:00
committed by Git OBS Bridge
parent 17c61431f7
commit 2bfaab6a49
2 changed files with 8 additions and 2 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Jun 1 07:23:25 UTC 2023 - Ben Greiner <code@bnavigator.de>
- Update test setup: rerun flaky pyreverse tests
------------------------------------------------------------------- -------------------------------------------------------------------
Mon May 8 15:31:49 UTC 2023 - Dirk Müller <dmueller@suse.com> Mon May 8 15:31:49 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@@ -59,7 +59,7 @@ BuildRequires: %{python_module typing-extensions >= 3.10}
# /SECTION # /SECTION
# SECTION test deps # SECTION test deps
BuildRequires: %{python_module GitPython > 3} BuildRequires: %{python_module GitPython > 3}
BuildRequires: %{python_module pytest-benchmark} BuildRequires: %{python_module pytest-rerunfailures}
BuildRequires: %{python_module pytest-timeout} BuildRequires: %{python_module pytest-timeout}
BuildRequires: %{python_module pytest-xdist} BuildRequires: %{python_module pytest-xdist}
BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest}
@@ -106,7 +106,8 @@ done
%if %{with tests} %if %{with tests}
%check %check
export LC_ALL="en_US.UTF-8" export LC_ALL="en_US.UTF-8"
%pytest %{?jobs:-n %jobs} --benchmark-disable -k "not test_linter_with_unpickleable_plugins_is_pickleable" # reruns: tests/pyreverse is incredibly non-deterministic in failures
%pytest -n auto --ignore tests/benchmark --reruns 5 -rsfER -k "not test_linter_with_unpickleable_plugins_is_pickleable"
%endif %endif
%post %post