From ccf42ea6b23884232dbbc829a00382f082a6d723 Mon Sep 17 00:00:00 2001 From: catalinaperalta Date: Fri, 3 Jun 2022 16:59:03 -0700 Subject: [PATCH] temporarily skip aad tests (#24708) --- .../tests/test_dac_analyze_prebuilts_from_url.py | 1 + .../tests/test_dac_analyze_prebuilts_from_url_async.py | 1 + .../azure-ai-formrecognizer/tests/test_dmac_mgmt.py | 1 + .../azure-ai-formrecognizer/tests/test_dmac_mgmt_async.py | 1 + 4 files changed, 4 insertions(+) diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_dac_analyze_prebuilts_from_url.py b/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_dac_analyze_prebuilts_from_url.py index bcfd00641a23..46494d598c31 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_dac_analyze_prebuilts_from_url.py +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_dac_analyze_prebuilts_from_url.py @@ -181,6 +181,7 @@ def test_polling_interval(self, formrecognizer_test_endpoint, formrecognizer_tes poller2.wait() assert poller2._polling_method._timeout == 7 # goes back to client default + @pytest.mark.skip() @pytest.mark.live_test_only def test_active_directory_auth(self): token = self.generate_oauth_token() diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_dac_analyze_prebuilts_from_url_async.py b/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_dac_analyze_prebuilts_from_url_async.py index 0626c1e62d12..fb8e9e741334 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_dac_analyze_prebuilts_from_url_async.py +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_dac_analyze_prebuilts_from_url_async.py @@ -189,6 +189,7 @@ async def test_polling_interval(self, formrecognizer_test_endpoint, formrecogniz await poller2.wait() assert poller2._polling_method._timeout == 7 # goes back to client default + @pytest.mark.skip() @pytest.mark.live_test_only @FormRecognizerPreparer() async def test_active_directory_auth_async(self): diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_dmac_mgmt.py b/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_dmac_mgmt.py index 73e40efa1324..04be67ede605 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_dmac_mgmt.py +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_dmac_mgmt.py @@ -29,6 +29,7 @@ class TestManagement(FormRecognizerTest): def teardown(self): self.sleep(4) + @pytest.mark.skip() @pytest.mark.live_test_only @FormRecognizerPreparer() def test_active_directory_auth(self): diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_dmac_mgmt_async.py b/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_dmac_mgmt_async.py index 8c0de3edf30e..c59ef69bfc43 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_dmac_mgmt_async.py +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_dmac_mgmt_async.py @@ -30,6 +30,7 @@ class TestManagementAsync(AsyncFormRecognizerTest): def teardown(self): self.sleep(4) + @pytest.mark.skip() @pytest.mark.live_test_only @FormRecognizerPreparer() async def test_active_directory_auth_async(self):