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", +]