Skip to content

Commit

Permalink
Merge branch '4gust/mi-retry-policy' of https://github.com/AzureAD/mi…
Browse files Browse the repository at this point in the history
…crosoft-authentication-library-for-go into 4gust/mi-retry-policy
  • Loading branch information
4gust committed Nov 26, 2024
2 parents 86d023d + a81a5be commit d93e752
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions apps/managedidentity/managedidentity_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -314,8 +314,7 @@ func Test_RetryPolicy_For_AcquireToken(t *testing.T) {
if errorRetryCounter != 1 {
t.Fatalf("expected Number of retry of 1, got %d", errorRetryCounter)
}
} else {
if errorRetryCounter != testCase.numberOfFails && testCase.numberOfFails < 3 {
} else if errorRetryCounter != testCase.numberOfFails && testCase.numberOfFails < 3 {
t.Fatalf("expected Number of retry of %d, got %d", testCase.numberOfFails, errorRetryCounter)
}
}
Expand Down

0 comments on commit d93e752

Please sign in to comment.