From 5e3ce2ccc164a0103e2bebd7c3f0e9f86f9fa728 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Sat, 24 Aug 2024 15:58:50 +0200 Subject: [PATCH] Temporarily skip tests that fail due to expired test certificates --- rust-tokio-rustls.spec | 3 ++- rust2rpm.toml | 15 ++++++++++++++- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/rust-tokio-rustls.spec b/rust-tokio-rustls.spec index 475481c..bc52339 100644 --- a/rust-tokio-rustls.spec +++ b/rust-tokio-rustls.spec @@ -115,7 +115,8 @@ use the "tls12" feature of the "%{crate}" crate. %if %{with check} %check # * skip tests that require internet access -%cargo_test -- -- --exact --skip common::test_stream::stream_handshake_regression_issues_77 --skip test_modern --skip test_tls12 --skip test_modern_vectored --skip test_tls12_vectored +# * skip tests that fail due to expired certificates +%cargo_test -- -- --exact --skip common::test_stream::stream_handshake_regression_issues_77 --skip test_modern --skip test_tls12 --skip test_tls12_vectored --skip test_modern_vectored --skip common::test_stream::stream_bad --skip common::test_stream::stream_buffered_handshake --skip common::test_stream::stream_eof --skip common::test_stream::stream_good --skip common::test_stream::stream_good_vectored --skip common::test_stream::stream_handshake --skip pass --skip test_lazy_config_acceptor %endif %changelog diff --git a/rust2rpm.toml b/rust2rpm.toml index 3e31167..cc38327 100644 --- a/rust2rpm.toml +++ b/rust2rpm.toml @@ -5,12 +5,25 @@ cargo-toml-patch-comments = [ [tests] skip = [ + # require internet access "common::test_stream::stream_handshake_regression_issues_77", "test_modern", "test_tls12", "test_tls12_vectored", "test_modern_vectored", + # expired test certificate + "common::test_stream::stream_bad", + "common::test_stream::stream_buffered_handshake", + "common::test_stream::stream_eof", + "common::test_stream::stream_good", + "common::test_stream::stream_good_vectored", + "common::test_stream::stream_handshake", + "pass", + "test_lazy_config_acceptor", ] skip-exact = true -comments = ["skip tests that require internet access"] +comments = [ + "skip tests that require internet access", + "skip tests that fail due to expired certificates", +]