Stop the failing tests

pull/20079/head
Lidi Zheng 6 years ago
parent 65233f7818
commit d9c0d498f2
  1. 5
      src/python/grpcio_tests/commands.py
  2. 2
      src/python/grpcio_tests/tests/unit/_local_credentials_test.py

@ -160,7 +160,10 @@ class TestGevent(setuptools.Command):
)
BANNED_WINDOWS_TESTS = (
# TODO(https://github.com/grpc/grpc/pull/15411) enable this test
'unit._dns_resolver_test.DNSResolverTest.test_connect_loopback',)
'unit._dns_resolver_test.DNSResolverTest.test_connect_loopback',
# TODO(https://github.com/grpc/grpc/issues/20078) enable this test
'unit._local_credentials_test.LocalCredentialsTest',
)
description = 'run tests with gevent. Assumes grpc/gevent are installed'
user_options = []

@ -49,6 +49,8 @@ class LocalCredentialsTest(unittest.TestCase):
b'abc', wait_for_ready=True))
server.stop(None)
@unittest.skipIf(os.name == 'nt',
'Unix Domain Socket is not supported on Windows')
def test_uds(self):
server_addr = 'unix:/tmp/grpc_fullstack_test'
channel_creds = grpc.local_channel_credentials(

Loading…
Cancel
Save