forked from pool/python-smart-open
- 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
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
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>
|
Mon Mar 18 09:58:56 UTC 2024 - Bernhard Wiedemann <bwiedemann@suse.com>
|
||||||
|
|
||||||
|
@@ -74,10 +74,12 @@ Includes support for S3, HDFS, gzip, bz2, etc.
|
|||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
timeout 3m moto_server -p5000 2>/dev/null &
|
moto_server -p5000 2>/dev/null &
|
||||||
|
server_pid=$!
|
||||||
export SO_ENABLE_MOTO_SERVER=1
|
export SO_ENABLE_MOTO_SERVER=1
|
||||||
# Requires network
|
# Requires network
|
||||||
%pytest -rs -k 'not (test_http_gz or test_s3_gzip_compress_sanity)' smart_open/
|
%pytest -rs -k 'not (test_http_gz or test_s3_gzip_compress_sanity)' smart_open/
|
||||||
|
kill $server_pid
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
|
Reference in New Issue
Block a user