summaryrefslogtreecommitdiff
path: root/service
diff options
context:
space:
mode:
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
}