git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #147766 from drewrisinger/dr-pr-fix-qiskit-aqua-timeout

python3Packages.qiskit-aqua: disable slow tests

commitd57f82e306a86458b06534f6e2f5f9948c30afd7 authorFabian Affolter <fabian@affolter-engineering.ch> dateMon 29 Nov 2021, 09:25 (5 years ago) parente39e022c5b6e8a
1 file changed+3−1
pkgs/development/python-modules/qiskit-aqua/default.nix+3−1
pkgs/development/python-modules/qiskit-aqua/default.nix+3−1
@@ -111,7 +111,7 @@ buildPythonPackage rec {
111111 "qiskit.optimization"
112112 ];
113113 pytestFlagsArray = [
114− "--timeout=30"
114+ "--timeout=30" # limit test duration to 30 seconds. Some tests previously would run indefinitely
115115 "--durations=10"
116116 ];
117117 disabledTestPaths = lib.optionals (!withPyscf) [
@@ -169,6 +169,8 @@ buildPythonPackage rec {
169169 "test_eoh"
170170 "test_qasm_5"
171171 "test_uccsd_hf"
172+ "test_lih"
173+ "test_lih_freeze_core"
172174 ] ++ lib.optionals (!withPyscf) [
173175 "test_validate" # test/chemistry/test_inputparser.py
174176 ];