(t *testing.T)
| 12 | ) |
| 13 | |
| 14 | func TestRetryBackOff(t *testing.T) { |
| 15 | testRetry(t, func(r *Request) { |
| 16 | r.SetRetryBackoffInterval(10*time.Millisecond, 1*time.Second) |
| 17 | }) |
| 18 | } |
| 19 | |
| 20 | func testRetry(t *testing.T, setFunc func(r *Request)) { |
| 21 | attempt := 0 |
nothing calls this directly
no test coverage detected
searching dependent graphs…