summaryrefslogtreecommitdiff
path: root/service
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2020-04-15 21:22:23 +0300
committerValery Piashchynski <[email protected]>2020-04-15 21:22:23 +0300
commit54044ab8db2336d01d8251d6ff9c93ece6eb514c (patch)
tree8b6021dff7b2dee533596b06dd384f4a7b70ee6d /service
parent70d231252714bfae963ec8662d0d61a9c3f512c2 (diff)
Update port in tests
Diffstat (limited to 'service')
-rw-r--r--service/limit/service_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/service/limit/service_test.go b/service/limit/service_test.go
index 856ff1a6..b358c1c1 100644
--- a/service/limit/service_test.go
+++ b/service/limit/service_test.go
@@ -63,7 +63,7 @@ func Test_Service_PidEcho(t *testing.T) {
err := c.Init(&testCfg{
httpCfg: `{
- "address": ":7029",
+ "address": ":17029",
"workers":{
"command": "php ../../tests/http/client.php pid pipes",
"pool": {"numWorkers": 1}
@@ -92,7 +92,7 @@ func Test_Service_PidEcho(t *testing.T) {
}()
time.Sleep(time.Millisecond * 100)
- req, err := http.NewRequest("GET", "http://localhost:7029", nil)
+ req, err := http.NewRequest("GET", "http://localhost:17029", nil)
if err != nil {
return err
}