Merge pull request #4517 from cli/macos-firewall-prompt-skip
Avoid macOS prompt to allow incoming connections in liveshare tests
This commit is contained in:
commit
fccc910166
1 changed files with 1 additions and 1 deletions
|
|
@ -46,7 +46,7 @@ func TestPortForwarderStart(t *testing.T) {
|
|||
}
|
||||
defer testServer.Close()
|
||||
|
||||
listen, err := net.Listen("tcp", ":8000")
|
||||
listen, err := net.Listen("tcp", "127.0.0.1:8000")
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue