Disable tests for now, flaky in containerized environments

Signed-off-by: Michel Lind <salimma@fedoraproject.org>
epel9
Michel Lind 1 year ago
parent a561103a13
commit 1e76b83079
No known key found for this signature in database
GPG Key ID: 8B229D2F7CCC04F2

@ -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

Loading…
Cancel
Save