From ece733a2a0e324c0bcfb2bb967d693e57b021b9e Mon Sep 17 00:00:00 2001 From: Xiang Yan Date: Tue, 1 Oct 2024 15:29:48 -0700 Subject: [PATCH] Enable samples for formrecognizer --- sdk/formrecognizer/tests.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/sdk/formrecognizer/tests.yml b/sdk/formrecognizer/tests.yml index 7786fabca3b2..ff7b2375ee59 100644 --- a/sdk/formrecognizer/tests.yml +++ b/sdk/formrecognizer/tests.yml @@ -8,8 +8,7 @@ extends: TestTimeoutInMinutes: 200 UseFederatedAuth: true MatrixReplace: - # Disable samples tests for now as some of them are haning. - # - TestSamples=.*/true + - TestSamples=.*/true Clouds: 'Prod' # This is a specific request from the formrecognizer service team # their claim is that the full matrix ends up stress-testing their service. @@ -25,3 +24,6 @@ extends: TEST_MODE: 'RunLiveNoRecord' AZURE_SKIP_LIVE_RECORDING: 'True' AZURE_TEST_RUN_LIVE: 'true' + # Set fake authority host to ensure Managed Identity fail for Default Azure Credential + # so "execute samples" step correctly picks up Powershell credential. + AZURE_POD_IDENTITY_AUTHORITY_HOST: "FakeAuthorityHost"