14
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 21c098654c
commit 98975e36ed
2 changed files with 4 additions and 1 deletions

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