X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/2df5de69d74ab1fbf1fbcec23d392193522b0364..11f4d90ff07de3557a86d78cb8623ad059633d04:/lib/service/cmd_test.go diff --git a/lib/service/cmd_test.go b/lib/service/cmd_test.go index 7a1f98a8f0..7db9109274 100644 --- a/lib/service/cmd_test.go +++ b/lib/service/cmd_test.go @@ -64,8 +64,6 @@ func (*Suite) TestGetListenAddress(c *check.C) { }, { // implicit port 80 in InternalURLs internalURLs: map[string]string{"http://localhost/": ""}, - expectListen: "http://localhost/", - expectInternal: "http://localhost/", expectErrorMatch: `.*:80: bind: permission denied`, }, { // implicit port 443 in InternalURLs @@ -73,6 +71,10 @@ func (*Suite) TestGetListenAddress(c *check.C) { expectListen: "http://localhost:" + unusedPort + "/", expectInternal: "https://host.example/", }, + { // implicit port 443 in ListenURL + internalURLs: map[string]string{"wss://host.example/": "wss://localhost/"}, + expectErrorMatch: `.*:443: bind: permission denied`, + }, { internalURLs: map[string]string{"https://hostname.example/": "http://localhost:8000/"}, expectListen: "http://localhost:8000/",