Skip to content

Commit 67ac6bc

Browse files
Ptnan7Jingnan Xu
andauthored
{cdn} skip cdn migration commit ut (#30578)
Co-authored-by: Jingnan Xu <[email protected]>
1 parent 7dd0f54 commit 67ac6bc

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/azure-cli/azure/cli/command_modules/cdn/tests/latest/test_classic_cdn_to_afd.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010

1111

1212
class ClassicCdnMigration(CdnScenarioMixin, ScenarioTest):
13+
@unittest.skip("thread race issuse")
1314
@ResourceGroupPreparer(additional_tags={'owner': 'jingnanxu'})
1415
def test_classic_cdn_migration_commit(self, resource_group):
1516
list_checks = [JMESPathCheck('length(@)', 0)]
@@ -27,8 +28,6 @@ def test_classic_cdn_migration_commit(self, resource_group):
2728
checks = [JMESPathCheck('type', 'Microsoft.Cdn/migrate')]
2829
self.cdn_migrate_to_afd(resource_group, profile_name, sku='Premium_AzureFrontDoor', checks=checks)
2930

30-
time.sleep(30)
31-
3231
self.cdn_migration_commit(resource_group, profile_name)
3332

3433
self.profile_delete_cmd(resource_group, profile_name)
@@ -51,8 +50,6 @@ def test_classic_cdn_migration_abort(self, resource_group):
5150
checks = [JMESPathCheck('type', 'Microsoft.Cdn/migrate')]
5251
self.cdn_migrate_to_afd(resource_group, profile_name, sku='Premium_AzureFrontDoor', checks=checks)
5352

54-
time.sleep(30)
55-
5653
self.cdn_migration_abort(resource_group, profile_name)
5754

5855
self.profile_delete_cmd(resource_group, profile_name)

0 commit comments

Comments
 (0)