diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2020-03-06 11:40:18 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-06 17:40:18 +0100 |
commit | 61f12ea77534129113b7f11a0faee285b93c0cb1 (patch) | |
tree | 9e240bb7ef0aa5cbe97ee88914c8f5748dc94086 | |
parent | 5e31b96f9ab72b9a9b480fd2fc0669a7f90cca17 (diff) |
Fix flaky test test_permissions_net_listen_allow_localhost (#4271)
-rw-r--r-- | cli/tests/integration_tests.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cli/tests/integration_tests.rs b/cli/tests/integration_tests.rs index 6c853f089..81ecdf7d3 100644 --- a/cli/tests/integration_tests.rs +++ b/cli/tests/integration_tests.rs @@ -1889,8 +1889,9 @@ fn test_permissions_net_listen_allow_localhost_4555_fail() { #[test] fn test_permissions_net_listen_allow_localhost() { + // Port 4600 is chosen to not colide with those used by tools/http_server.py let (_, err, code) = util::run_and_collect_output( - "run --allow-net=localhost complex_permissions_test.ts netListen localhost:4545 localhost:4546 localhost:4547", + "run --allow-net=localhost complex_permissions_test.ts netListen localhost:4600", None, None, false, |