From 392b59c0ac2809e071d5bb8aa5e78c376c949aba Mon Sep 17 00:00:00 2001 From: Ben Bardin Date: Tue, 19 Nov 2024 12:09:00 -0500 Subject: [PATCH] cloud/azure: fix cloud unit test Language is different after SDK upgrade. Fixes: #135661 Release note: None --- pkg/cloud/azure/azure_file_credentials_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/cloud/azure/azure_file_credentials_test.go b/pkg/cloud/azure/azure_file_credentials_test.go index 8d4cbba57db9..f639bb27fa1e 100644 --- a/pkg/cloud/azure/azure_file_credentials_test.go +++ b/pkg/cloud/azure/azure_file_credentials_test.go @@ -124,7 +124,7 @@ func TestAzureFileCredential(t *testing.T) { defaultCreds, err := azidentity.NewDefaultAzureCredential(nil) require.NoError(t, err) - require.ErrorContains(t, verifyCredentialsAccess(defaultCreds), "DefaultAzureCredential: failed to acquire a token") + require.ErrorContains(t, verifyCredentialsAccess(defaultCreds), "DefaultAzureCredential authentication failed. failed to acquire a token") require.NoError(t, writeAzureCredentialsFile(credFile, cfg.tenantID, cfg.clientID, cfg.clientSecret))