python3Packages.twisted: disable test_cpuCount test (#380245)

This test checks for the number of availaible CPU cores using two
different methods, and asserts that they are equal. In situations such
as LXC containers that do not have all cores availaible, one method can
still return the real total CPU core count, and the other will return
the number enabled. This causes a needless build fail in LXC.
This commit is contained in:
Mitchell Pleune
2025-02-08 02:50:25 +01:00
committed by GitHub
parent c5a2a21f21
commit 5dbfbc05e0
@@ -109,6 +109,10 @@ buildPythonPackage rec {
"MulticastTests.test_multicast"
"MulticastTests.test_multiListen"
];
"src/twisted/trial/test/test_script.py" = [
# Fails in LXC containers with less than all cores availaible (limits.cpu)
"AutoJobsTests.test_cpuCount"
];
"src/twisted/internet/test/test_unix.py" = [
# flaky?
"UNIXTestsBuilder.test_sendFileDescriptorTriggersPauseProducing"