From 4950276fef1b5d78d38933e5b9d5c9beaeef512c Mon Sep 17 00:00:00 2001 From: Valery Piashchynski Date: Fri, 28 Feb 2020 16:45:41 +0300 Subject: rotate ports --- service/http/service_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'service') 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) -- cgit v1.2.3