summary refs log tree commit diff
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2021-11-29 09:25:34 +0100
committerGitHub <noreply@github.com>2021-11-29 09:25:34 +0100
commitd57f82e306a86458b06534f6e2f5f9948c30afd7 (patch)
tree02d462697e79af1fbee287d735543cfa5e26f62c
parente39e0221feda5a4e891a54990e356c5615f26824 (diff)
parentc5b6e8a0fd39426e47349524ceb29c1a4d8328c8 (diff)
downloadnixpkgs-d57f82e306a86458b06534f6e2f5f9948c30afd7.tar
nixpkgs-d57f82e306a86458b06534f6e2f5f9948c30afd7.tar.gz
nixpkgs-d57f82e306a86458b06534f6e2f5f9948c30afd7.tar.bz2
nixpkgs-d57f82e306a86458b06534f6e2f5f9948c30afd7.tar.lz
nixpkgs-d57f82e306a86458b06534f6e2f5f9948c30afd7.tar.xz
nixpkgs-d57f82e306a86458b06534f6e2f5f9948c30afd7.tar.zst
nixpkgs-d57f82e306a86458b06534f6e2f5f9948c30afd7.zip
Merge pull request #147766 from drewrisinger/dr-pr-fix-qiskit-aqua-timeout
python3Packages.qiskit-aqua: disable slow tests
-rw-r--r--pkgs/development/python-modules/qiskit-aqua/default.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/qiskit-aqua/default.nix b/pkgs/development/python-modules/qiskit-aqua/default.nix
index b5bfa729321..88365e0f8b7 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
   ];