MCPcopy Create free account
hub / github.com/imroc/req / TestRetryFixedInterval

Function TestRetryFixedInterval

retry_test.go:46–50  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

44}
45
46func TestRetryFixedInterval(t *testing.T) {
47 testRetry(t, func(r *Request) {
48 r.SetRetryFixedInterval(1 * time.Millisecond)
49 })
50}
51
52func TestAddRetryHook(t *testing.T) {
53 test := "test1"

Callers

nothing calls this directly

Calls 2

testRetryFunction · 0.85
SetRetryFixedIntervalMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…