summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/http/tests/configs/.rr-fcgi-reqUri.yaml2
-rw-r--r--plugins/http/tests/http_test.go4
2 files changed, 3 insertions, 3 deletions
diff --git a/plugins/http/tests/configs/.rr-fcgi-reqUri.yaml b/plugins/http/tests/configs/.rr-fcgi-reqUri.yaml
index c42ff6a3..dbd19445 100644
--- a/plugins/http/tests/configs/.rr-fcgi-reqUri.yaml
+++ b/plugins/http/tests/configs/.rr-fcgi-reqUri.yaml
@@ -28,7 +28,7 @@ http:
key: fixtures/server.key
# rootCa: root.crt
fcgi:
- address: tcp://0.0.0.0:6921
+ address: tcp://127.0.0.1:6921
http2:
enabled: false
h2c: false
diff --git a/plugins/http/tests/http_test.go b/plugins/http/tests/http_test.go
index d5db1896..117bccb7 100644
--- a/plugins/http/tests/http_test.go
+++ b/plugins/http/tests/http_test.go
@@ -423,7 +423,7 @@ func TestFastCGI_RequestUri(t *testing.T) {
wg := &sync.WaitGroup{}
wg.Add(1)
go func() {
- tt := time.NewTimer(time.Second * 5)
+ tt := time.NewTimer(time.Second * 10)
defer wg.Done()
for {
select {
@@ -455,7 +455,7 @@ func TestFastCGI_RequestUri(t *testing.T) {
}
func fcgiReqURI(t *testing.T) {
- fcgiConnFactory := gofast.SimpleConnFactory("tcp", "0.0.0.0:6921")
+ fcgiConnFactory := gofast.SimpleConnFactory("tcp", "127.0.0.1:6921")
fcgiHandler := gofast.NewHandler(
gofast.BasicParamsMap(gofast.BasicSession),