Skip to content

Commit

Permalink
Merge pull request #80718 from rnhmjoj/timeout
Browse files Browse the repository at this point in the history
pythonPackages.pytest-timeout: disable flaky test
  • Loading branch information
rnhmjoj committed Feb 22, 2020
2 parents e01412b + c4865b8 commit 57bcca3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pkgs/development/python-modules/pytest-timeout/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,10 @@ buildPythonPackage rec {
};

checkInputs = [ pytest pexpect ];
checkPhase = ''pytest -ra'';
checkPhase = ''
# test_suppresses_timeout_when_pdb_is_entered fails under heavy load
pytest -ra -k 'not test_suppresses_timeout_when_pdb_is_entered'
'';

meta = with lib;{
description = "py.test plugin to abort hanging tests";
Expand Down

0 comments on commit 57bcca3

Please sign in to comment.