Merge pull request #80718 from rnhmjoj/timeout

pythonPackages.pytest-timeout: disable flaky test
This commit is contained in:
Michele Guerini Rocco
2020-02-22 09:33:13 +01:00
committed by GitHub

View File

@@ -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";