From 2bcc43f367dfed1ce655c381e07521c7f975b553 Mon Sep 17 00:00:00 2001 From: Malo Bourgon Date: Tue, 29 Mar 2022 11:39:42 -0700 Subject: [PATCH] python3Packages.dnspython: disable flaky tests on darwin --- pkgs/development/python-modules/dnspython/default.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pkgs/development/python-modules/dnspython/default.nix b/pkgs/development/python-modules/dnspython/default.nix index ad58f310636c..5676d270935f 100644 --- a/pkgs/development/python-modules/dnspython/default.nix +++ b/pkgs/development/python-modules/dnspython/default.nix @@ -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 = [