14
0

Accepting request 1159736 from devel:languages:python

- Do not kill moto_server three minutes into the testsuite. (bsc#1221663)

- Avoid stuck build on failing test

OBS-URL: https://build.opensuse.org/request/show/1159736
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-smart-open?expand=0&rev=5
This commit is contained in:
2024-03-20 20:14:51 +00:00
committed by Git OBS Bridge
2 changed files with 12 additions and 0 deletions

View File

@@ -1,3 +1,13 @@
-------------------------------------------------------------------
Wed Mar 20 06:05:52 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
- Do not kill moto_server three minutes into the testsuite. (bsc#1221663)
-------------------------------------------------------------------
Mon Mar 18 09:58:56 UTC 2024 - Bernhard Wiedemann <bwiedemann@suse.com>
- Avoid stuck build on failing test
-------------------------------------------------------------------
Fri Mar 15 07:48:15 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>

View File

@@ -75,9 +75,11 @@ Includes support for S3, HDFS, gzip, bz2, etc.
%check
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