Skip to content

Commit 8af27ac

Browse files
committed
Fix retry count conversion in test case
1 parent 09537c6 commit 8af27ac

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

httpclient/httpclient_rate_handler_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ func TestCalculateBackoff(t *testing.T) {
2222
}
2323

2424
for _, tt := range tests {
25-
t.Run("RetryCount"+string(tt.retry), func(t *testing.T) {
25+
t.Run("RetryCount"+strconv.Itoa(tt.retry), func(t *testing.T) {
26+
2627
delay := calculateBackoff(tt.retry)
2728

2829
// The delay should never exceed maxDelay

0 commit comments

Comments
 (0)