summaryrefslogtreecommitdiff
path: root/cli/tests
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests')
-rw-r--r--cli/tests/integration/inspector_tests.rs8
1 files changed, 6 insertions, 2 deletions
diff --git a/cli/tests/integration/inspector_tests.rs b/cli/tests/integration/inspector_tests.rs
index 78bac74b2..872f9e3d2 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;
}