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.
This commit is contained in:
Drew Risinger 2021-11-24 22:26:07 -05:00
parent f5f9557cb4
commit c5b6e8a0fd

View file

@ -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
];