summaryrefslogtreecommitdiff
path: root/cli/tests/integration/inspector_tests.rs
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2024-01-16 21:50:03 +0100
committerGitHub <noreply@github.com>2024-01-16 13:50:03 -0700
commitae0e7df41a15d584703f956f0e2dc91dab4aec38 (patch)
tree8883ec94a4481daab5a7b2f880b55f0d83922220 /cli/tests/integration/inspector_tests.rs
parent028f85446835ae4c54757c3912574fe0e7f5697b (diff)
chore: ignore inspector_port_collision test (#21923)
Ref https://github.com/denoland/deno/issues/21912 --------- Co-authored-by: Matt Mastracci <matthew@mastracci.com>
Diffstat (limited to 'cli/tests/integration/inspector_tests.rs')
-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;
}