11
0

- Increase WEBSOCKETS_TESTS_TIMEOUT_FACTOR to 50 to fix flaky tests in

different architectures, bsc#1242254

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-websockets?expand=0&rev=57
This commit is contained in:
2025-05-07 12:15:20 +00:00
committed by Git OBS Bridge
parent 100595c278
commit 05c978a7da
2 changed files with 4 additions and 1 deletions

View File

@@ -2,6 +2,8 @@
Tue May 6 09:28:40 UTC 2025 - Daniel Garcia <daniel.garcia@suse.com>
- Skip flaky tests for s390x
- Increase WEBSOCKETS_TESTS_TIMEOUT_FACTOR to 50 to fix flaky tests in
different architectures, bsc#1242254
-------------------------------------------------------------------
Fri Feb 14 12:10:52 UTC 2025 - Nico Krapp <nico.krapp@suse.com>

View File

@@ -56,7 +56,7 @@ export CFLAGS="%{optflags}"
%check
# Test execution speed depends on BS load and architecture, relax
export WEBSOCKETS_TESTS_TIMEOUT_FACTOR=10
export WEBSOCKETS_TESTS_TIMEOUT_FACTOR=50
# Disable flaky tests gh#python-websockets/websockets#1322
donttest="test_close_waits_for_close_frame"
# Disable broken tests with openssl 3.2 and python < 3.11
@@ -69,6 +69,7 @@ donttest+=" or test_decompress_max_size"
donttest+=" or test_encode_decode_fragmented_binary_frame"
donttest+=" or test_encode_decode_fragmented_text_frame"
donttest+=" or test_remote_no_context_takeove"
donttest+=" or test_writing_in_send_context_fails"
%endif
%pytest_arch -v -k "not ($donttest)" tests