From 130ef4c9c2b5b8de34433063cb1accddde2f5c26 Mon Sep 17 00:00:00 2001 From: Marian Csontos Date: Wed, 30 Oct 2024 16:48:35 +0100 Subject: [PATCH] Fix testing issues Tests are sometimes failing non deterministicly on some architectures. We were bitten by some tests exhausting available disk in the past with similar results. This is not reproducible by developer so trying to reduce the environment complexity. Related: RHEL-65306 RHEL-57084 --- device-mapper-persistent-data.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/device-mapper-persistent-data.spec b/device-mapper-persistent-data.spec index ee7e915..dc3b3e6 100644 --- a/device-mapper-persistent-data.spec +++ b/device-mapper-persistent-data.spec @@ -63,7 +63,9 @@ echo %{version}-%{release} > VERSION %if %{with check} %check -%cargo_test +#%%cargo_test +# First -- is eaten by RPM macros +%cargo_test -- -- --nocapture --test-threads=1 #cargo test --test thin_shrink -- --nocapture --test-threads=1 %endif