diff --git a/cli/tests/integration/inspector_tests.rs b/cli/tests/integration/inspector_tests.rs index 78bac74b2e..872f9e3d2d 100644 --- a/cli/tests/integration/inspector_tests.rs +++ b/cli/tests/integration/inspector_tests.rs @@ -425,8 +425,12 @@ async fn inspector_pause() { #[tokio::test] async fn inspector_port_collision() { // Skip this test on WSL, which allows multiple processes to listen on the - // same port, rather than making `bind()` fail with `EADDRINUSE`. - if cfg!(target_os = "linux") && std::env::var_os("WSL_DISTRO_NAME").is_some() + // same port, rather than making `bind()` fail with `EADDRINUSE`. We also + // skip this test on Windows because it will occasionally flake, possibly + // due to a similar issue. + if (cfg!(target_os = "linux") + && std::env::var_os("WSL_DISTRO_NAME").is_some()) + || cfg!(windows) { return; }