From 75dc0cff68fe939b62e177ef06e60e99be6914dc Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Mon, 4 Nov 2024 21:06:20 +0100 Subject: [PATCH] Run tests single-threaded to avoid clobbered environment variables --- rust-reqwest.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/rust-reqwest.spec b/rust-reqwest.spec index 16ea69d..2b4bd82 100644 --- a/rust-reqwest.spec +++ b/rust-reqwest.spec @@ -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