summaryrefslogtreecommitdiff
path: root/service
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2020-04-08 15:50:38 +0000
committerGitHub <[email protected]>2020-04-08 15:50:38 +0000
commit55b9eed0675b8cc3366faa821e53b8bba4139615 (patch)
tree002841e0d9a2cc17a17874330d77dc6575fd742f /service
parentf2d4a57c7be5716fc6fd341ff978c90820ce0870 (diff)
parentcb730f42b45769ee2af5d2e610ebaef0c8756325 (diff)
Merge #295
295: Vendor directory fix (php vs golang) r=48d90782 a=48d90782 fixes #292 Co-authored-by: Valery Piashchynski <[email protected]>
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
}