From 0b86a68440501810961bec44fdceaf6ab53b652a6b2cf69347095fe050fe2aee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Tue, 8 Sep 2020 07:07:40 +0000 Subject: [PATCH] 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 --- python-pyzmq.changes | 5 +++++ python-pyzmq.spec | 2 ++ 2 files changed, 7 insertions(+) diff --git a/python-pyzmq.changes b/python-pyzmq.changes index afbcf57..f81d2fe 100644 --- a/python-pyzmq.changes +++ b/python-pyzmq.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Sep 7 11:31:06 UTC 2020 - Bernhard Wiedemann + +- Add timeout to tests (boo#1176232) + ------------------------------------------------------------------- Sat Aug 15 06:33:10 UTC 2020 - John Vandenberg diff --git a/python-pyzmq.spec b/python-pyzmq.spec index b84463d..33c8724 100644 --- a/python-pyzmq.spec +++ b/python-pyzmq.spec @@ -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}