From 8dccb0651600ed1780dd2b071065dbff9ed7de40 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Mon, 25 Feb 2019 11:28:14 +0100 Subject: [PATCH] python.pkgs.cherrypy: skip test that fails intermittently See https://github.com/cherrypy/cherrypy/issues/1306 for the upstream discussion. --- pkgs/development/python-modules/cherrypy/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/cherrypy/default.nix b/pkgs/development/python-modules/cherrypy/default.nix index 2f4ec42c7f8..4a860c5510c 100644 --- a/pkgs/development/python-modules/cherrypy/default.nix +++ b/pkgs/development/python-modules/cherrypy/default.nix @@ -41,7 +41,10 @@ in buildPythonPackage rec { checkPhase = '' # 3 out of 5 SignalHandlingTests need network access - LANG=en_US.UTF-8 pytest -k "not SignalHandlingTests and not test_4_Autoreload" + # test_2_File_Concurrency also fails upstream: https://github.com/cherrypy/cherrypy/issues/1306 + # ...and skipping it makes 2 other tests fail + LANG=en_US.UTF-8 pytest -k "not SignalHandlingTests and not test_4_Autoreload \ + and not test_2_File_Concurrency and not test_3_Redirect and not test_4_File_deletion" ''; meta = with lib; {