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
commit 57bcca369d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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