From 1e76b8307924e4179487cd4201d87d9df0a11e9d Mon Sep 17 00:00:00 2001 From: Michel Lind Date: Sat, 28 Oct 2023 21:57:18 -0500 Subject: [PATCH] Disable tests for now, flaky in containerized environments Signed-off-by: Michel Lind --- rust-sysinfo.spec | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/rust-sysinfo.spec b/rust-sysinfo.spec index 4082423..8429d0a 100644 --- a/rust-sysinfo.spec +++ b/rust-sysinfo.spec @@ -1,5 +1,7 @@ # Generated by rust2rpm 24 -%bcond_without check +# * many tests don't work when virtualized / containerized +# especially on s390x +%bcond_with check %global debug_package %{nil} %global crate sysinfo @@ -129,8 +131,7 @@ use the "serde" feature of the "%{crate}" crate. %if %{with check} %check -# * skip tests that fail in VMs or in systemd-nspawn containers on different architectures -%cargo_test -- -- --skip test::check_all_process_uids_resolvable --skip test::check_cpu_usage --skip test::check_cpus_number --skip test::check_processes_cpu_usage --skip test_disks +%cargo_test %endif %changelog