From a4a2c1be8ed7fc2e3e57f64cbe9bc4f9615124d2 Mon Sep 17 00:00:00 2001 From: Drew Risinger Date: Wed, 24 Nov 2021 22:26:07 -0500 Subject: python3Packages.qiskit-aqua: disable slow tests These tests were timing out, they pass locally but can overrun the timeout threshold depending on system load and speed. System load shouldn't cause hydra failures, so disabling. (cherry picked from commit c5b6e8a0fd39426e47349524ceb29c1a4d8328c8) --- pkgs/development/python-modules/qiskit-aqua/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/qiskit-aqua/default.nix b/pkgs/development/python-modules/qiskit-aqua/default.nix index b5bfa729321eb..88365e0f8b70f 100644 --- a/pkgs/development/python-modules/qiskit-aqua/default.nix +++ b/pkgs/development/python-modules/qiskit-aqua/default.nix @@ -111,7 +111,7 @@ buildPythonPackage rec { "qiskit.optimization" ]; pytestFlagsArray = [ - "--timeout=30" + "--timeout=30" # limit test duration to 30 seconds. Some tests previously would run indefinitely "--durations=10" ]; disabledTestPaths = lib.optionals (!withPyscf) [ @@ -169,6 +169,8 @@ buildPythonPackage rec { "test_eoh" "test_qasm_5" "test_uccsd_hf" + "test_lih" + "test_lih_freeze_core" ] ++ lib.optionals (!withPyscf) [ "test_validate" # test/chemistry/test_inputparser.py ]; -- cgit 1.4.1