From 082da35e382361863b79c0ca42205d5a52b4390a Mon Sep 17 00:00:00 2001 From: Lidi Zheng Date: Tue, 20 Apr 2021 13:09:47 -0700 Subject: [PATCH] Add a list of banned macOS gevent tests (#26027) --- src/python/grpcio_tests/commands.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/python/grpcio_tests/commands.py b/src/python/grpcio_tests/commands.py index 889b0bd9dc3..f5f3849ad2c 100644 --- a/src/python/grpcio_tests/commands.py +++ b/src/python/grpcio_tests/commands.py @@ -231,6 +231,9 @@ class TestGevent(setuptools.Command): # TODO(https://github.com/grpc/grpc/pull/15411) enable this test 'unit._server_test.ServerTest.test_failed_port_binding_exception', ) + BANNED_MACOS_TESTS = ( + # TODO(https://github.com/grpc/grpc/issues/15411) enable this test + 'unit._dynamic_stubs_test.DynamicStubTest',) description = 'run tests with gevent. Assumes grpc/gevent are installed' user_options = [] @@ -258,6 +261,8 @@ class TestGevent(setuptools.Command): runner = tests.Runner() if sys.platform == 'win32': runner.skip_tests(self.BANNED_TESTS + self.BANNED_WINDOWS_TESTS) + elif sys.platform == 'darwin': + runner.skip_tests(self.BANNED_TESTS + self.BANNED_MACOS_TESTS) else: runner.skip_tests(self.BANNED_TESTS) result = gevent.spawn(runner.run, loader.suite)