Unverified Commit c7cc37d2 authored by Gaétan Lepage's avatar Gaétan Lepage Committed by GitHub
Browse files

python312Packages.botorch: skip tests that take too much time (#395416)

parents 85da2bcd 5f8d76a2
Loading
Loading
Loading
Loading
+9 −7
Original line number Diff line number Diff line
@@ -43,16 +43,18 @@ buildPythonPackage rec {
    torch
  ];

  nativeCheckInputs = [ pytestCheckHook ];

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

  disabledTests =
    [ "test_all_cases_covered" ]
    [
      "test_all_cases_covered"

      # Skip tests that take too much time
      "TestQMultiObjectivePredictiveEntropySearch"
      "TestQPredictiveEntropySearch"
    ]
    ++ lib.optionals (pythonAtLeast "3.13") [
      # RuntimeError: Boolean value of Tensor with more than one value is ambiguous
      "test_optimize_acqf_mixed_binary_only"