From 61f12ea77534129113b7f11a0faee285b93c0cb1 Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Fri, 6 Mar 2020 11:40:18 -0500 Subject: [PATCH] Fix flaky test test_permissions_net_listen_allow_localhost (#4271) --- cli/tests/integration_tests.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cli/tests/integration_tests.rs b/cli/tests/integration_tests.rs index 6c853f0894..81ecdf7d3e 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,