mirror of
https://github.com/denoland/deno.git
synced 2024-12-23 07:44:48 -05:00
Fix flaky test test_permissions_net_listen_allow_localhost (#4271)
This commit is contained in:
parent
5e31b96f9a
commit
61f12ea775
1 changed files with 2 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue