Unverified Commit 35789184 authored by Martin Weinelt's avatar Martin Weinelt
Browse files

python312Packages.botorch: disable stuck tests on x86_64-linux

and log individual tests, so it becomes easier to find out which tests
get stuck.
parent 600a8c74
Loading
Loading
Loading
Loading
+13 −1
Original line number Diff line number Diff line
{
  lib,
  stdenv,
  buildPythonPackage,
  fetchFromGitHub,
  gpytorch,
@@ -46,7 +47,18 @@ buildPythonPackage rec {

  nativeCheckInputs = [ pytestCheckHook ];

  disabledTests = [ "test_all_cases_covered" ];
  pytestFlagsArray = [
    # tests tend to get stuck on busy hosts, increase verbosity to find out
    # which specific tests get stuck
    "-vvv"
  ];

  disabledTests =
    [ "test_all_cases_covered" ]
    ++ lib.optionals (stdenv.buildPlatform.system == "x86_64-linux") [
      # stuck tests on hydra
      "test_moo_predictive_entropy_search"
    ];

  pythonImportsCheck = [ "botorch" ];