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)