diff options
author | Valery Piashchynski <[email protected]> | 2020-03-08 16:18:58 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2020-03-08 16:18:58 +0300 |
commit | eae742dff18b89084d1754918015d9c69e626ed3 (patch) | |
tree | 555feb36fb77ac13af2ae53b0a07287f0b0ca026 /service/http/service_test.go | |
parent | 617eb5a965fd70c150754bc661c4d19eb3a8d184 (diff) |
fix bug with totally frozed rr
Diffstat (limited to 'service/http/service_test.go')
-rw-r--r-- | service/http/service_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/service/http/service_test.go b/service/http/service_test.go index 1a1c32ae..1d8af9c0 100644 --- a/service/http/service_test.go +++ b/service/http/service_test.go @@ -176,7 +176,7 @@ func Test_Service_Env(t *testing.T) { assert.NoError(t, c.Init(&testCfg{httpCfg: `{ "enable": true, - "address": ":6031", + "address": ":10031", "maxRequestSize": 1024, "uploads": { "dir": ` + tmpDir() + `, @@ -209,7 +209,7 @@ func Test_Service_Env(t *testing.T) { time.Sleep(time.Second * 1) - req, err := http.NewRequest("GET", "http://localhost:6031", nil) + req, err := http.NewRequest("GET", "http://localhost:10031", nil) assert.NoError(t, err) r, err := http.DefaultClient.Do(req) |