Increase timeout for large payload

This commit is contained in:
Leonid Bugaev
2015-08-24 08:58:57 +03:00
parent 929e027907
commit 3c81723ac3
+4 -1
View File
@@ -179,6 +179,9 @@ func TestInputRAWChunkedEncoding(t *testing.T) {
}
func TestInputRAWLargePayload(t *testing.T) {
Settings.verbose = true
Settings.debug = true
wg := new(sync.WaitGroup)
quit := make(chan int)
@@ -201,7 +204,7 @@ func TestInputRAWLargePayload(t *testing.T) {
}))
originAddr := strings.Replace(origin.Listener.Addr().String(), "[::]", "127.0.0.1", -1)
input := NewRAWInput(originAddr, testRawExpire)
input := NewRAWInput(originAddr, time.Second)
defer input.Close()
replay := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, req *http.Request) {