From 5a98ac4bf055cb08d8771dffd5b4ee484431ef7c Mon Sep 17 00:00:00 2001 From: annalee <150648636+a-n-n-a-l-e-e@users.noreply.github.com> Date: Wed, 14 Feb 2024 01:11:00 +0000 Subject: [PATCH] python311Packages.qcodes: disable flaky tests disable flaky tests use flags similar to the upstream workflow -m "not serial" --hypothesis-profile ci --- pkgs/development/python-modules/qcodes/default.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkgs/development/python-modules/qcodes/default.nix b/pkgs/development/python-modules/qcodes/default.nix index b8b7ca6a5eb9..bac376be3554 100644 --- a/pkgs/development/python-modules/qcodes/default.nix +++ b/pkgs/development/python-modules/qcodes/default.nix @@ -119,6 +119,8 @@ buildPythonPackage rec { "-n" "$NIX_BUILD_CORES" # Follow upstream with settings + "-m 'not serial'" + "--hypothesis-profile ci" "--durations=20" ]; @@ -141,6 +143,11 @@ buildPythonPackage rec { "test_get_array_in_scalar_param_data" "test_get_parameter_data" "test_ramp_safely" + + # more flaky tests + # https://github.com/microsoft/Qcodes/issues/5551 + "test_query_close_once_at_init" + "test_step_ramp" ]; pythonImportsCheck = [