Accepting request 832769 from home:bmwiedemann:branches:devel:languages:python

Add timeout to tests (boo#1176232)

tests currently finish in 47s so well below the 180s timeout

OBS-URL: https://build.opensuse.org/request/show/832769
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyzmq?expand=0&rev=84
This commit is contained in:
Tomáš Chvátal 2020-09-08 07:07:40 +00:00 committed by Git OBS Bridge
parent 81ffc1a2bf
commit 0b86a68440
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Sep 7 11:31:06 UTC 2020 - Bernhard Wiedemann <bwiedemann@suse.com>
- Add timeout to tests (boo#1176232)
-------------------------------------------------------------------
Sat Aug 15 06:33:10 UTC 2020 - John Vandenberg <jayvdb@gmail.com>

View File

@ -99,7 +99,9 @@ export CFLAGS="%{optflags}"
%if %{with tests}
%check
%python_exec setup.py build_ext --inplace
timeout 3m bash -c '
%pytest
'
%endif
%files %{python_files}