forked from pool/python-websockets
- Skip flaky tests for s390x
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-websockets?expand=0&rev=56
This commit is contained in:
@@ -61,6 +61,16 @@ export WEBSOCKETS_TESTS_TIMEOUT_FACTOR=10
|
||||
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"
|
||||
|
||||
%ifarch s390x
|
||||
# Skip flaky tests
|
||||
donttest+=" or test_context_takeover"
|
||||
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"
|
||||
%endif
|
||||
|
||||
%pytest_arch -v -k "not ($donttest)" tests
|
||||
|
||||
%files %{python_files}
|
||||
|
||||
Reference in New Issue
Block a user