Skip to content

[Digital Twins] Use "@azure-tools/test-credential";#20494

Merged
HarshaNalluru merged 1 commit intoAzure:mainfrom
HarshaNalluru:harshan/fix-digital-twins-builds
Feb 22, 2022
Merged

[Digital Twins] Use "@azure-tools/test-credential";#20494
HarshaNalluru merged 1 commit intoAzure:mainfrom
HarshaNalluru:harshan/fix-digital-twins-builds

Conversation

@HarshaNalluru
Copy link
Copy Markdown
Contributor

Packages impacted by this PR

Tests in digital-twins-core

Issues associated with this PR

#20493
Unblocks #20300

Describe the problem that is addressed by this PR

Fixes #20493

Requests from the AAD browser tests are hitting the live service in playback mode instead of using the recordings.
My best guess on the cause of the problem is that something has changed at the msal level which kicked in a tenant-id validation and failed for the "12345678-1234-1234-1234-123456789012" fake tenant-id.
Haven't investigated deeper on what is causing the failure, instead using the test-credential which would bypass the AAD traffic in playback mode.

@ghost ghost added the Digital Twins label Feb 22, 2022
@HarshaNalluru HarshaNalluru changed the title Use "@azure-tools/test-credential"; [Digital Twins] Use "@azure-tools/test-credential"; Feb 22, 2022
Copy link
Copy Markdown
Contributor

@YoDaMa YoDaMa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@HarshaNalluru HarshaNalluru merged commit 5cd7947 into Azure:main Feb 22, 2022
@HarshaNalluru HarshaNalluru deleted the harshan/fix-digital-twins-builds branch February 22, 2022 20:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Digital Twins] Build failure - AAD tests fail in browser

2 participants