You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The test, as it is currently written, expects an HTTP status code 302 (Found) when an invalid system access token is provided, per the TSG.
However, the service is returning HTTP status code 203 (Non-Authoritative Information). This will either require a TSG and test update, to capture the observed behavior, or a discussion from the service team to understand if 203 is the correct behavior we should expect in this scenario.
The test, as it is currently written, expects an HTTP status code 302 (Found) when an invalid system access token is provided, per the TSG.
However, the service is returning HTTP status code 203 (Non-Authoritative Information). This will either require a TSG and test update, to capture the observed behavior, or a discussion from the service team to understand if 203 is the correct behavior we should expect in this scenario.
azure-sdk-for-cpp/sdk/identity/azure-identity/test/ut/azure_pipelines_credential_test.cpp
Line 647 in 1143b6b
The behavior seems inconsistent as well. For example, here, on the first run of the test (which happens to be on Ubuntu), the service returns 302 and the test passes. However, on subsequent test runs (on Windows), an HTTP 203 is returned which fails the test.
[1]
https://dev.azure.com/azure-sdk/internal/_build/results?buildId=3955276&view=logs&j=e732a657-4392-5bc3-3289-b34fe17fd560&t=28d3e977-de2c-5feb-854f-4d9592e2dd8b
[2]
https://dev.azure.com/azure-sdk/internal/_build/results?buildId=3955276&view=logs&j=bde6d2cb-0847-54f8-b066-ca83e951fc62&t=7e88246e-2d7d-5f11-e032-00f743b98e55
There's a similar test in JS:
https://github.com/Azure/azure-sdk-for-js/blob/53c6a206264175dab476c613f8a254f9695fbb00/sdk/identity/identity/test/public/node/azurePipelinesCredential.spec.ts#L76-L89
The text was updated successfully, but these errors were encountered: