Merge pull request #147766 from drewrisinger/dr-pr-fix-qiskit-aqua-timeout

python3Packages.qiskit-aqua: disable slow tests
This commit is contained in:
Fabian Affolter 2021-11-29 09:25:34 +01:00 committed by GitHub
commit d57f82e306
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -111,7 +111,7 @@ buildPythonPackage rec {
"qiskit.optimization" "qiskit.optimization"
]; ];
pytestFlagsArray = [ pytestFlagsArray = [
"--timeout=30" "--timeout=30" # limit test duration to 30 seconds. Some tests previously would run indefinitely
"--durations=10" "--durations=10"
]; ];
disabledTestPaths = lib.optionals (!withPyscf) [ disabledTestPaths = lib.optionals (!withPyscf) [
@ -169,6 +169,8 @@ buildPythonPackage rec {
"test_eoh" "test_eoh"
"test_qasm_5" "test_qasm_5"
"test_uccsd_hf" "test_uccsd_hf"
"test_lih"
"test_lih_freeze_core"
] ++ lib.optionals (!withPyscf) [ ] ++ lib.optionals (!withPyscf) [
"test_validate" # test/chemistry/test_inputparser.py "test_validate" # test/chemistry/test_inputparser.py
]; ];