Skip to content

Commit

Permalink
{cdn} skip cdn migration commit ut (#30578)
Browse files Browse the repository at this point in the history
Co-authored-by: Jingnan Xu <[email protected]>
  • Loading branch information
Ptnan7 and Jingnan Xu authored Dec 26, 2024
1 parent 7dd0f54 commit 67ac6bc
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)]
Expand All @@ -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)
Expand All @@ -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)
Expand Down

0 comments on commit 67ac6bc

Please sign in to comment.