Skip to content

Commit d43ebe9

Browse files
committed
Disable more tests for China cloud
1 parent 01b3722 commit d43ebe9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/test_authority.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ def _test_authority_builder(self, host, tenant):
3333
def test_wellknown_host_and_tenant(self):
3434
# Assert all well known authority hosts are using their own "common" tenant
3535
for host in WELL_KNOWN_AUTHORITY_HOSTS:
36-
self._test_given_host_and_tenant(host, "common")
36+
if host != AZURE_CHINA: # It is prone to ConnectionError
37+
self._test_given_host_and_tenant(host, "common")
3738

3839
def test_wellknown_host_and_tenant_using_new_authority_builder(self):
3940
self._test_authority_builder(AZURE_PUBLIC, "consumers")

0 commit comments

Comments
 (0)