From 0d7b6f9064e606a802ebedf883ac49474cf7fc92 Mon Sep 17 00:00:00 2001 From: tu-maurice Date: Sat, 18 Nov 2023 11:08:10 +0100 Subject: python311Packages.circus: fix tests on darwin --- pkgs/development/python-modules/circus/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'pkgs/development') diff --git a/pkgs/development/python-modules/circus/default.nix b/pkgs/development/python-modules/circus/default.nix index 90cf6a4be7f..95d29a4401b 100644 --- a/pkgs/development/python-modules/circus/default.nix +++ b/pkgs/development/python-modules/circus/default.nix @@ -1,4 +1,5 @@ { lib +, stdenv , buildPythonPackage , fetchPypi , flit-core @@ -34,6 +35,11 @@ buildPythonPackage rec { pyyaml ]; + # On darwin: Too many open files + preCheck = lib.optionalString stdenv.isDarwin '' + ulimit -n 1024 + ''; + disabledTests = [ # these tests raise circus.tests.support.TimeoutException "test_reload1" -- cgit 1.4.1