summaryrefslogtreecommitdiff
path: root/plugins/http
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2020-11-24 16:26:57 +0300
committerValery Piashchynski <[email protected]>2020-11-24 16:26:57 +0300
commit12bcbc309c5f3432d860f7aa106033d1ddf9e824 (patch)
treed5a0b48820a2245afe6e08fad9c361d5afe333f6 /plugins/http
parent863193bd7b21bbb2b30cf8960c83260a79d22a8b (diff)
Increase time for fcgi test
Diffstat (limited to 'plugins/http')
-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),