summaryrefslogtreecommitdiff
path: root/service/http/service_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'service/http/service_test.go')
-rw-r--r--service/http/service_test.go4
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)