From bc1913d505934ae43fe12f2c99796aec1979339e5f7c046b768b20fb23138a6c Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Wed, 20 Mar 2024 06:07:23 +0000 Subject: [PATCH] - Do not kill moto_server three minutes into the testsuite. (bsc#1221663) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-smart-open?expand=0&rev=10 --- python-smart-open.changes | 5 +++++ python-smart-open.spec | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/python-smart-open.changes b/python-smart-open.changes index 664c791..e8bc227 100644 --- a/python-smart-open.changes +++ b/python-smart-open.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Mar 20 06:05:52 UTC 2024 - Steve Kowalik + +- Do not kill moto_server three minutes into the testsuite. (bsc#1221663) + ------------------------------------------------------------------- Mon Mar 18 09:58:56 UTC 2024 - Bernhard Wiedemann diff --git a/python-smart-open.spec b/python-smart-open.spec index ebb762b..b0efffa 100644 --- a/python-smart-open.spec +++ b/python-smart-open.spec @@ -74,10 +74,12 @@ Includes support for S3, HDFS, gzip, bz2, etc. %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -timeout 3m moto_server -p5000 2>/dev/null & +moto_server -p5000 2>/dev/null & +server_pid=$! export SO_ENABLE_MOTO_SERVER=1 # Requires network %pytest -rs -k 'not (test_http_gz or test_s3_gzip_compress_sanity)' smart_open/ +kill $server_pid %files %{python_files} %doc README.rst