d1a5ec7839
The parameter is an additional marker that the test helper must only be used for tests.
8 lines
160 B
Go
8 lines
160 B
Go
package retry
|
|
|
|
import "testing"
|
|
|
|
// TestFastRetries reduces the initial retry delay to 1 millisecond
|
|
func TestFastRetries(_ testing.TB) {
|
|
fastRetries = true
|
|
}
|