Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5948350

Browse files
committed
refactor(retry): Remove comments from retryable status code tests for clarity
Signed-off-by: Eden Reich <[email protected]>
1 parent 468f356 commit 5948350

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

sdk_test.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1465,12 +1465,12 @@ func TestIsRetryableStatusCode(t *testing.T) {
14651465
{401, false},
14661466
{403, false},
14671467
{404, false},
1468-
{408, true}, // Request Timeout
1469-
{429, true}, // Too Many Requests
1470-
{500, true}, // Internal Server Error
1471-
{502, true}, // Bad Gateway
1472-
{503, true}, // Service Unavailable
1473-
{504, true}, // Gateway Timeout
1468+
{408, true},
1469+
{429, true},
1470+
{500, true},
1471+
{502, true},
1472+
{503, true},
1473+
{504, true},
14741474
}
14751475

14761476
for _, tt := range tests {

0 commit comments

Comments
 (0)