From d9c0d498f224366263b0fc7cff9752eec48172cd Mon Sep 17 00:00:00 2001
From: Lidi Zheng <lidiz@google.com>
Date: Mon, 26 Aug 2019 11:33:44 -0700
Subject: [PATCH] Stop the failing tests

---
 src/python/grpcio_tests/commands.py                          | 5 ++++-
 .../grpcio_tests/tests/unit/_local_credentials_test.py       | 2 ++
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/src/python/grpcio_tests/commands.py b/src/python/grpcio_tests/commands.py
index 61d8bdc1f7..d30daacd5a 100644
--- a/src/python/grpcio_tests/commands.py
+++ b/src/python/grpcio_tests/commands.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 = []
 
diff --git a/src/python/grpcio_tests/tests/unit/_local_credentials_test.py b/src/python/grpcio_tests/tests/unit/_local_credentials_test.py
index 80a21af1ce..14b68cb590 100644
--- a/src/python/grpcio_tests/tests/unit/_local_credentials_test.py
+++ b/src/python/grpcio_tests/tests/unit/_local_credentials_test.py
@@ -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(
-- 
GitLab