summaryrefslogtreecommitdiff
path: root/service
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2020-04-08 17:09:36 +0300
committerValery Piashchynski <[email protected]>2020-04-08 17:09:36 +0300
commitf24a11df068426628eaa885bc24f0abac1e5caf1 (patch)
treec6dcc94422bfd288c33af416ac92f475b915e10f /service
parentf2d4a57c7be5716fc6fd341ff978c90820ce0870 (diff)
Vendor directory fix (php vs golang)
Diffstat (limited to 'service')
-rw-r--r--service/headers/service_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/service/headers/service_test.go b/service/headers/service_test.go
index 8d727c15..a67def02 100644
--- a/service/headers/service_test.go
+++ b/service/headers/service_test.go
@@ -200,7 +200,7 @@ func TestCORS_OPTIONS(t *testing.T) {
}`,
httpCfg: `{
"enable": true,
- "address": ":6379",
+ "address": ":16379",
"maxRequestSize": 1024,
"workers":{
"command": "php ../../tests/http/client.php headers pipes",
@@ -222,7 +222,7 @@ func TestCORS_OPTIONS(t *testing.T) {
time.Sleep(time.Millisecond * 100)
defer c.Stop()
- req, err := http.NewRequest("OPTIONS", "http://localhost:6379", nil)
+ req, err := http.NewRequest("OPTIONS", "http://localhost:16379", nil)
if err != nil {
return err
}