mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 22:23:15 +00:00
Merge pull request #147766 from drewrisinger/dr-pr-fix-qiskit-aqua-timeout
python3Packages.qiskit-aqua: disable slow tests
This commit is contained in:
commit
d57f82e306
@ -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
|
||||||
];
|
];
|
||||||
|
Loading…
Reference in New Issue
Block a user