Unverified Commit e14e691c authored by Sandro Jäckel's avatar Sandro Jäckel Committed by GitHub
Browse files

python3Packages.func-timeout: disable timing tests that fail in Hydra due to load (#459311)

parents 056aa4d3 3914320e
Loading
Loading
Loading
Loading
+11 −2
Original line number Diff line number Diff line
@@ -18,12 +18,21 @@ buildPythonPackage rec {

  nativeCheckInputs = [ pytestCheckHook ];

  disabledTests = [
    # Calculates the amount of time the machine slept but doesn't account for heavy loads
    "test_retry"
    "test_funcSetTimeout"
    "test_funcSetTimeCalculate"
    "test_funcSetTimeCalculateWithOverride"
    "test_setFuncTimeoutetry"
  ];

  pythonImportsCheck = [ "func_timeout" ];

  meta = with lib; {
  meta = {
    description = "Allows you to specify timeouts when calling any existing function. Also provides support for stoppable-threads";
    homepage = "https://github.com/kata198/func_timeout";
    license = licenses.lgpl3Only;
    license = lib.licenses.lgpl3Only;
    maintainers = [ ];
  };
}