Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
135723: cloud/azure: fix cloud unit test r=benbardin a=benbardin

Language is different after SDK upgrade.

[Teamcity run](https://teamcity.cockroachdb.com/buildConfiguration/Cockroach_Nightlies_CloudUnitTests/17841345?hideProblemsFromDependencies=false&hideTestsFromDependencies=false)

Fixes: cockroachdb#135661
Release note: None

Co-authored-by: Ben Bardin <[email protected]>
  • Loading branch information
craig[bot] and benbardin committed Nov 19, 2024
2 parents 2b243f2 + 392b59c commit 28e5c74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cloud/azure/azure_file_credentials_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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))

Expand Down

0 comments on commit 28e5c74

Please sign in to comment.