diff options
Diffstat (limited to 'plugin/forward/proxy_test.go')
-rw-r--r-- | plugin/forward/proxy_test.go | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/plugin/forward/proxy_test.go b/plugin/forward/proxy_test.go index 8c53f3150..e33e274c0 100644 --- a/plugin/forward/proxy_test.go +++ b/plugin/forward/proxy_test.go @@ -25,9 +25,7 @@ func TestProxyClose(t *testing.T) { state := request.Request{W: &test.ResponseWriter{}, Req: req} ctx := context.TODO() - repeatCnt := 1000 - for repeatCnt > 0 { - repeatCnt-- + for i := 0; i < 100; i++ { p := NewProxy(s.Addr, nil /* no TLS */) p.start(hcDuration) |