Run tests single-threaded to avoid clobbered environment variables

epel10 imports/epel10/rust-reqwest-0.12.9-2.el10
Fabio Valentini 3 months ago
parent 0eed6f4924
commit 75dc0cff68
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

@ -432,8 +432,10 @@ rm tests/brotli.rs
%if %{with check}
%check
# * run tests single-threaded to avoid clobbered environment variables:
# https://github.com/seanmonstar/reqwest/issues/2468
# * skip tests which require internet access
%cargo_test -- -- --exact --skip test_allowed_methods --skip test_badssl_modern --skip test_badssl_self_signed --skip test_tls_info
%cargo_test -- -- --test-threads 1 --exact --skip test_allowed_methods --skip test_badssl_modern --skip test_badssl_self_signed --skip test_tls_info
%endif
%changelog

Loading…
Cancel
Save