summaryrefslogtreecommitdiff
path: root/service/http/service_test.go
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2018-06-13 20:55:19 +0300
committerWolfy-J <[email protected]>2018-06-13 20:55:19 +0300
commit5b78d3f646aef346cf51a1a7c9587b6e2aca2e5f (patch)
tree7c90dbf7444a3c7d8d9b6348088afc9a229b4bfd /service/http/service_test.go
parentc1649e34f4ea19f462cc68dd63bfe47de24b95e5 (diff)
nested uploads test
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 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)