disable tests using container when on OpenBSD (#443)

This commit is contained in:
shtrophic
2025-06-03 18:35:03 +02:00
committed by GitHub
parent bdae852cfb
commit 211733bf91

View File

@@ -225,7 +225,8 @@ pub async fn run_server(bind: SocketAddr, ip_transparent: bool) -> Result<TcpLis
Ok(TcpListenerStream::new(listener))
}
#[cfg(test)]
// there is no docker on OpenBSD
#[cfg(all(test, not(target_os = "openbsd")))]
mod tests {
use super::*;
use futures_util::pin_mut;