mirror of
https://github.com/erebe/wstunnel.git
synced 2025-09-26 19:21:10 +08:00
disable tests using container when on OpenBSD (#443)
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user