test: disable tls test on mac

This commit is contained in:
Yujia Qiao 2022-01-03 15:23:26 +08:00 committed by Yujia Qiao
parent 92d0f8d00a
commit 26dbfe10bb
1 changed files with 4 additions and 0 deletions

View File

@ -55,6 +55,8 @@ async fn tcp() -> Result<()> {
});
test("tests/for_tcp/tcp_transport.toml", Type::Tcp).await?;
// FIXME: Self-signed certificate on Mac requires mannual interference. Disable CI for now
#[cfg(not(target_os = "macos"))]
test("tests/for_tcp/tls_transport.toml", Type::Tcp).await?;
test("tests/for_tcp/noise_transport.toml", Type::Tcp).await?;
@ -80,6 +82,8 @@ async fn udp() -> Result<()> {
});
test("tests/for_udp/tcp_transport.toml", Type::Udp).await?;
// See above
#[cfg(not(target_os = "macos"))]
test("tests/for_udp/tls_transport.toml", Type::Udp).await?;
test("tests/for_udp/noise_transport.toml", Type::Udp).await?;