python3Packages.dnspython: disable flaky tests on darwin

This commit is contained in:
Malo Bourgon 2022-03-29 11:39:42 -07:00 committed by Yt
parent d66b8dfa96
commit 2bcc43f367

View file

@ -30,6 +30,14 @@ buildPythonPackage rec {
"test_misc_good_WKS_text"
# fails if IPv6 isn't available
"test_resolver_override"
# Tests that run inconsistently on darwin systems
] ++ lib.optionals stdenv.isDarwin [
# 9 tests fail with: BlockingIOError: [Errno 35] Resource temporarily unavailable
"testQueryUDP"
# 6 tests fail with: dns.resolver.LifetimeTimeout: The resolution lifetime expired after ...
"testResolveCacheHit"
"testResolveTCP"
];
nativeBuildInputs = [