Add a list of banned macOS gevent tests (#26027)

pull/26011/head
Lidi Zheng 4 years ago committed by GitHub
parent 3625d9f75e
commit 082da35e38
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      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)

Loading…
Cancel
Save