diff options
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 08dc8a5b..4903081e 100644 --- a/service/http/service_test.go +++ b/service/http/service_test.go @@ -111,7 +111,7 @@ func Test_Service_Echo(t *testing.T) { assert.NoError(t, c.Init(&testCfg{`{ "enable": true, - "address": ":8070", + "address": ":8029", "maxRequest": 1024, "uploads": { "dir": ` + tmpDir() + `, @@ -136,7 +136,7 @@ func Test_Service_Echo(t *testing.T) { time.Sleep(time.Millisecond * 10) defer c.Stop() - req, err := http.NewRequest("GET", "http://localhost:8070?hello=world", nil) + req, err := http.NewRequest("GET", "http://localhost:8029?hello=world", nil) assert.NoError(t, err) r, err := http.DefaultClient.Do(req) |