mirror of
https://github.com/denoland/deno
synced 2024-08-27 12:00:17 +00:00
chore: ignore inspector_port_collision test (#21923)
Ref https://github.com/denoland/deno/issues/21912 --------- Co-authored-by: Matt Mastracci <matthew@mastracci.com>
This commit is contained in:
parent
028f854468
commit
ae0e7df41a
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue