forked from pool/python-websockets
- Increase WEBSOCKETS_TESTS_TIMEOUT_FACTOR to 10 to make
test_keepalive_ping_with_no_ping_timeout pass again. - Remove skip-test_keepalive_ping_with_no_ping_timeout.patch, of course. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-websockets?expand=0&rev=29
This commit is contained in:
@@ -26,9 +26,6 @@ License: BSD-3-Clause
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/aaugustin/websockets
|
||||
Source: https://github.com/aaugustin/websockets/archive/%{version}.tar.gz
|
||||
# PATCH-FIX-UPSTREAM skip-test_keepalive_ping_with_no_ping_timeout.patch gh#aaugustin/websockets#1026 mcepl@suse.com
|
||||
# Skip test test_keepalive_ping_with_no_ping_timeout
|
||||
Patch0: skip-test_keepalive_ping_with_no_ping_timeout.patch
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
@@ -58,7 +55,7 @@ export CFLAGS="%{optflags}"
|
||||
|
||||
%check
|
||||
# Test execution speed depends on BS load and architecture, relax
|
||||
export WEBSOCKETS_TESTS_TIMEOUT_FACTOR=5
|
||||
export WEBSOCKETS_TESTS_TIMEOUT_FACTOR=10
|
||||
# https://github.com/aaugustin/websockets/issues/855 is an intermittent failure
|
||||
# for test_keepalive_ping_does_not_crash_when_connection_lost on s390x
|
||||
%pyunittest_arch -v
|
||||
|
||||
Reference in New Issue
Block a user