From b98ce723481c07034d464f529901fe275dacfc4fb235d28469593e14aa7df6bf Mon Sep 17 00:00:00 2001 From: Daniel Garcia Date: Thu, 22 Dec 2022 09:55:26 +0000 Subject: [PATCH] - Increase timeout for running tests OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyscreenshot?expand=0&rev=6 --- python-pyscreenshot.changes | 5 +++++ python-pyscreenshot.spec | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/python-pyscreenshot.changes b/python-pyscreenshot.changes index 5a0698c..20f679a 100644 --- a/python-pyscreenshot.changes +++ b/python-pyscreenshot.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Dec 22 09:54:12 UTC 2022 - Daniel Garcia + +- Increase timeout for running tests + ------------------------------------------------------------------- Fri Dec 2 09:00:03 UTC 2022 - Daniel Garcia diff --git a/python-pyscreenshot.spec b/python-pyscreenshot.spec index e97ac1d..caea4c9 100644 --- a/python-pyscreenshot.spec +++ b/python-pyscreenshot.spec @@ -94,7 +94,7 @@ cd tests/ # test_maim fails on Leap 15.x %{python_expand # Necessary to run configure with all python flavors export PYTHONPATH=%{buildroot}%{$python_sitelib} -xvfb-run --server-args "-br -screen 0 900x800x24" $python -m pytest -v -k 'not test_maim' +xvfb-run --server-args "-br -screen 0 900x800x24" -w 5 $python -m pytest -v -k 'not test_maim' rm -rf /tmp/fillscreen* } %endif