Skip to content

Commit bbd75fd

Browse files
committed
Disable test for China cloud
1 parent 589c0be commit bbd75fd

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
@@ -37,8 +37,9 @@ def test_wellknown_host_and_tenant(self):
3737

3838
def test_wellknown_host_and_tenant_using_new_authority_builder(self):
3939
self._test_authority_builder(AZURE_PUBLIC, "consumers")
40-
self._test_authority_builder(AZURE_CHINA, "organizations")
4140
self._test_authority_builder(AZURE_US_GOVERNMENT, "common")
41+
## AZURE_CHINA is prone to some ConnectionError. We skip it to speed up our tests.
42+
# self._test_authority_builder(AZURE_CHINA, "organizations")
4243

4344
@unittest.skip("As of Jan 2017, the server no longer returns V1 endpoint")
4445
def test_lessknown_host_will_return_a_set_of_v1_endpoints(self):

0 commit comments

Comments
 (0)