summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArtturi <Artturin@artturin.com>2021-11-29 22:12:02 +0200
committerGitHub <noreply@github.com>2021-11-29 22:12:02 +0200
commit40684b21cec5580083192df0a4aa11eddf02ee04 (patch)
tree0c449df70173ed999f47ee94c082b95f2fa00ec4
parentMerge pull request #147856 from NixOS/backport-147775-to-release-21.11 (diff)
parentpython3Packages.qiskit-aqua: disable slow tests (diff)
downloadnixpkgs-40684b21cec5580083192df0a4aa11eddf02ee04.tar.gz
Merge pull request #147855 from NixOS/backport-147766-to-release-21.11
-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 b5bfa729321e..88365e0f8b70 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
];