From 81f2ccad4d9b78cfc162d6329fcc7da6425d6d9a Mon Sep 17 00:00:00 2001 From: Haitao Chen Date: Sun, 23 Jun 2024 23:12:16 -0700 Subject: [PATCH] fix unittest --- test_joblib_test.go | 1 - 1 file changed, 1 deletion(-) diff --git a/test_joblib_test.go b/test_joblib_test.go index c653b0d..15cbac9 100644 --- a/test_joblib_test.go +++ b/test_joblib_test.go @@ -321,7 +321,6 @@ func newLinearRetryPolicy(sleepInterval time.Duration, maxRetryCount uint) async func (lrp *linearRetryPolicy) ShouldRetry(_ error, tried uint) (bool, time.Duration) { if tried < lrp.maxRetryCount { - tried++ return true, lrp.sleepInterval }