We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 03c24c2 commit 9f5b79bCopy full SHA for 9f5b79b
http2/transport_test.go
@@ -481,18 +481,6 @@ func TestTransportGroupsPendingDials(t *testing.T) {
481
}
482
483
484
-func retry(tries int, delay time.Duration, fn func() error) error {
485
- var err error
486
- for i := 0; i < tries; i++ {
487
- err = fn()
488
- if err == nil {
489
- return nil
490
- }
491
- time.Sleep(delay)
492
493
- return err
494
-}
495
-
496
func TestTransportAbortClosesPipes(t *testing.T) {
497
shutdown := make(chan struct{})
498
ts := newTestServer(t,
0 commit comments