python3Packages.twisted: skip flaky test_fullWriteBufferAfterByteExchange on macOS

Reactor timeout caused by a suspected macOS kernel bug where
select/kqueue fail to notify that a socket's peer has closed.

https://github.com/twisted/twisted/issues/12151
(cherry picked from commit 63c072d0a9)
This commit is contained in:
Jamie Magee
2026-03-17 21:46:51 -07:00
committed by Vladimír Čunát
parent 2b79d0759a
commit 5bc0c937fb

View File

@@ -187,8 +187,9 @@ buildPythonPackage rec {
"ProcessTestsBuilder_SelectReactorTests.test_processEnded"
];
"src/twisted/internet/test/test_tcp.py" = [
# marked as flaky on macOS by upstream
# https://github.com/twisted/twisted/blob/twisted-25.5.0/src/twisted/internet/test/test_tcp.py
# flaky on macOS, suspected kernel bug in socket notifications
# https://github.com/twisted/twisted/issues/12151
"AbortConnectionTests_AsyncioSelectorReactorTests.test_fullWriteBufferAfterByteExchange"
"AbortConnectionTests_AsyncioSelectorReactorTests.test_resumeProducingAbort"
"AbortConnectionTests_AsyncioSelectorReactorTests.test_resumeProducingAbortLater"
# Times out in Hydra on x86_64-darwin