summaryrefslogtreecommitdiff
path: root/service/http/service_test.go
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2020-02-28 16:45:41 +0300
committerValery Piashchynski <[email protected]>2020-02-28 16:45:41 +0300
commit4950276fef1b5d78d38933e5b9d5c9beaeef512c (patch)
tree1d5021188028a19d57f35b535502e5d35d0827a6 /service/http/service_test.go
parent45706f255f1be648ff59ded66b9d86872b9a6930 (diff)
rotate ports
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 968230a7..1a1c32ae 100644
--- a/service/http/service_test.go
+++ b/service/http/service_test.go
@@ -115,7 +115,7 @@ func Test_Service_Echo(t *testing.T) {
assert.NoError(t, c.Init(&testCfg{httpCfg: `{
"enable": true,
- "address": ":6029",
+ "address": ":6536",
"maxRequestSize": 1024,
"uploads": {
"dir": ` + tmpDir() + `,
@@ -147,7 +147,7 @@ func Test_Service_Echo(t *testing.T) {
}()
time.Sleep(time.Millisecond * 100)
- req, err := http.NewRequest("GET", "http://localhost:6029?hello=world", nil)
+ req, err := http.NewRequest("GET", "http://localhost:6536?hello=world", nil)
assert.NoError(t, err)
r, err := http.DefaultClient.Do(req)