From 3fd8ad544c5b25cf772b6c3284d6a59d8b014762 Mon Sep 17 00:00:00 2001 From: Nilesh Choudhary Date: Tue, 26 Nov 2024 12:56:20 +0000 Subject: [PATCH] Update managedidentity_test.go --- apps/managedidentity/managedidentity_test.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/apps/managedidentity/managedidentity_test.go b/apps/managedidentity/managedidentity_test.go index 23c94d64..a13edebc 100644 --- a/apps/managedidentity/managedidentity_test.go +++ b/apps/managedidentity/managedidentity_test.go @@ -315,8 +315,7 @@ func Test_RetryPolicy_For_AcquireToken(t *testing.T) { t.Fatalf("expected Number of retry of 1, got %d", errorRetryCounter) } } else if errorRetryCounter != testCase.numberOfFails && testCase.numberOfFails < 3 { - t.Fatalf("expected Number of retry of %d, got %d", testCase.numberOfFails, errorRetryCounter) - } + t.Fatalf("expected Number of retry of %d, got %d", testCase.numberOfFails, errorRetryCounter) } }) }