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:
parent
f5f9557cb4
commit
c5b6e8a0fd
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
];
|
||||
|
|
Loading…
Reference in a new issue