- Disable broken tests with openssl 3.2 and python < 3.11 bsc#1217782
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-websockets?expand=0&rev=51
This commit is contained in:
parent
eb8262d0fe
commit
63a2ad2a30
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jan 24 16:29:29 UTC 2024 - Daniel Garcia <daniel.garcia@suse.com>
|
||||||
|
|
||||||
|
- Disable broken tests with openssl 3.2 and python < 3.11 bsc#1217782
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Dec 6 09:18:32 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
Wed Dec 6 09:18:32 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-websockets
|
# spec file for package python-websockets
|
||||||
#
|
#
|
||||||
# Copyright (c) 2023 SUSE LLC
|
# Copyright (c) 2024 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -56,7 +56,10 @@ export CFLAGS="%{optflags}"
|
|||||||
# Test execution speed depends on BS load and architecture, relax
|
# Test execution speed depends on BS load and architecture, relax
|
||||||
export WEBSOCKETS_TESTS_TIMEOUT_FACTOR=10
|
export WEBSOCKETS_TESTS_TIMEOUT_FACTOR=10
|
||||||
# Disable flaky tests gh#python-websockets/websockets#1322
|
# Disable flaky tests gh#python-websockets/websockets#1322
|
||||||
%pytest_arch -v -k "not test_close_waits_for_close_frame" tests
|
donttest="test_close_waits_for_close_frame"
|
||||||
|
# Disable broken tests with openssl 3.2 and python < 3.11
|
||||||
|
donttest+=" or test_reject_invalid_server_certificate"
|
||||||
|
%pytest_arch -v -k "not ($donttest)" tests
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
|
Loading…
Reference in New Issue
Block a user