summaryrefslogtreecommitdiff
path: root/service
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2020-04-16 09:14:02 +0000
committerGitHub <[email protected]>2020-04-16 09:14:02 +0000
commitec4824c60f51254b91fd39bc5b32a74640ff0fd9 (patch)
tree8b6021dff7b2dee533596b06dd384f4a7b70ee6d /service
parentcc9c74665a9cabcfb006ab6b7a9beafb95ff7316 (diff)
parent54044ab8db2336d01d8251d6ff9c93ece6eb514c (diff)
Merge #302
302: Add user to worker r=48d90782 a=48d90782 Co-authored-by: Valery Piashchynski <[email protected]>
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
}