git.iko.soy/typeable/nixpkgs
on master help sign in
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.

commitc5b6e8a0fd39426e47349524ceb29c1a4d8328c8 authorDrew Risinger <drewrisinger@users.noreply.github.com> dateWed 24 Nov 2021, 22:26 (5 years ago) parentf5f9557
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 ];