From 4fb5a576fc7efe85200fbac1cc5c10e75a0a4a60 Mon Sep 17 00:00:00 2001 From: Jingnan Xu Date: Wed, 25 Dec 2024 20:55:45 +0800 Subject: [PATCH] skip cdn migration commit ut --- .../cdn/tests/latest/test_classic_cdn_to_afd.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/test_classic_cdn_to_afd.py b/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/test_classic_cdn_to_afd.py index dd053411d0f..3cc803935e9 100644 --- a/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/test_classic_cdn_to_afd.py +++ b/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/test_classic_cdn_to_afd.py @@ -10,6 +10,7 @@ class ClassicCdnMigration(CdnScenarioMixin, ScenarioTest): + @unittest.skip("thread race issuse") @ResourceGroupPreparer(additional_tags={'owner': 'jingnanxu'}) def test_classic_cdn_migration_commit(self, resource_group): list_checks = [JMESPathCheck('length(@)', 0)] @@ -27,8 +28,6 @@ def test_classic_cdn_migration_commit(self, resource_group): checks = [JMESPathCheck('type', 'Microsoft.Cdn/migrate')] self.cdn_migrate_to_afd(resource_group, profile_name, sku='Premium_AzureFrontDoor', checks=checks) - time.sleep(30) - self.cdn_migration_commit(resource_group, profile_name) self.profile_delete_cmd(resource_group, profile_name) @@ -51,8 +50,6 @@ def test_classic_cdn_migration_abort(self, resource_group): checks = [JMESPathCheck('type', 'Microsoft.Cdn/migrate')] self.cdn_migrate_to_afd(resource_group, profile_name, sku='Premium_AzureFrontDoor', checks=checks) - time.sleep(30) - self.cdn_migration_abort(resource_group, profile_name) self.profile_delete_cmd(resource_group, profile_name)