kevinjqliu opened a new pull request, #1095:
URL: https://github.com/apache/iceberg-go/pull/1095

   `TestCreateAzureBucketDefaultCredentialCalled` fails when Azure credentials 
are present on the machine (e.g., via `az login`).
   
   When `DefaultAzureCredential` succeeds in creating a client, the `List` 
operation returns an Azure service error (e.g., 
`AuthorizationPermissionMismatch`) that does not contain 
"DefaultAzureCredential". The assertion was checking for a string that can 
never appear in this code path.
   
   Removed the incorrect `assert.Contains` on the List error. The test still 
validates that `DefaultAzureCredential` is used (via the creation error path or 
non-nil bucket assertion).


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to