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:
parent
81ffc1a2bf
commit
0b86a68440
@ -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>
|
Sat Aug 15 06:33:10 UTC 2020 - John Vandenberg <jayvdb@gmail.com>
|
||||||
|
|
||||||
|
@ -99,7 +99,9 @@ export CFLAGS="%{optflags}"
|
|||||||
%if %{with tests}
|
%if %{with tests}
|
||||||
%check
|
%check
|
||||||
%python_exec setup.py build_ext --inplace
|
%python_exec setup.py build_ext --inplace
|
||||||
|
timeout 3m bash -c '
|
||||||
%pytest
|
%pytest
|
||||||
|
'
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
|
Loading…
Reference in New Issue
Block a user