diff options
author | Valery Piashchynski <[email protected]> | 2020-02-28 15:04:33 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2020-02-28 15:04:33 +0300 |
commit | e309cf676c01db44545505d6b64ca3dc69bff89e (patch) | |
tree | 9afbd93eeb180a3feda14c9b3fbadfe0a6fec2a0 | |
parent | 3b67450d03fbc20485551486fd5b113c01514236 (diff) |
ssl_test ports update
-rw-r--r-- | service/http/ssl_test.go | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/service/http/ssl_test.go b/service/http/ssl_test.go index 9f7b4bc6..678e6d60 100644 --- a/service/http/ssl_test.go +++ b/service/http/ssl_test.go @@ -84,7 +84,7 @@ func Test_SSL_Service_NoRedirect(t *testing.T) { c.Register(ID, &Service{}) assert.NoError(t, c.Init(&testCfg{httpCfg: `{ - "address": ":6029", + "address": ":6030", "ssl": { "port": 6900, "key": "fixtures/server.key", @@ -112,7 +112,7 @@ func Test_SSL_Service_NoRedirect(t *testing.T) { time.Sleep(time.Second) - req, err := http.NewRequest("GET", "http://localhost:6029?hello=world", nil) + req, err := http.NewRequest("GET", "http://localhost:6030?hello=world", nil) assert.NoError(t, err) r, err := sslClient.Do(req) @@ -145,7 +145,7 @@ func Test_SSL_Service_Redirect(t *testing.T) { c.Register(ID, &Service{}) assert.NoError(t, c.Init(&testCfg{httpCfg: `{ - "address": ":6029", + "address": ":6031", "ssl": { "port": 6900, "redirect": true, @@ -174,7 +174,7 @@ func Test_SSL_Service_Redirect(t *testing.T) { time.Sleep(time.Second) - req, err := http.NewRequest("GET", "http://localhost:6029?hello=world", nil) + req, err := http.NewRequest("GET", "http://localhost:6031?hello=world", nil) assert.NoError(t, err) r, err := sslClient.Do(req) @@ -207,7 +207,7 @@ func Test_SSL_Service_Push(t *testing.T) { c.Register(ID, &Service{}) assert.NoError(t, c.Init(&testCfg{httpCfg: `{ - "address": ":6029", + "address": ":6032", "ssl": { "port": 6900, "redirect": true, |