From be220bbcca28d1810650c62338481f40dfa38337 Mon Sep 17 00:00:00 2001 From: Kris Hicks Date: Fri, 31 Jul 2026 09:50:07 -0700 Subject: [PATCH] test(podman): gate gateway discovery test on Linux Run the constructor gateway-discovery error test only on Linux, matching the production branch that inspects the Podman bridge gateway. macOS uses its Podman machine callback path and correctly skips that inspection. Signed-off-by: Kris Hicks --- crates/openshell-driver-podman/src/driver.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/openshell-driver-podman/src/driver.rs b/crates/openshell-driver-podman/src/driver.rs index dd196f799..51c689fb2 100644 --- a/crates/openshell-driver-podman/src/driver.rs +++ b/crates/openshell-driver-podman/src/driver.rs @@ -1418,6 +1418,7 @@ mod tests { assert!(err.to_string().contains("slirp4netns")); } + #[cfg(target_os = "linux")] #[tokio::test] async fn constructor_preserves_required_network_gateway_discovery_error() { let (socket_path, _request_log, handle) = spawn_podman_stub(