diff options
author | Eric Gribkoff <ericgribkoff@google.com> | 2018-12-16 19:03:18 -0800 |
---|---|---|
committer | Eric Gribkoff <ericgribkoff@google.com> | 2018-12-17 08:53:09 -0800 |
commit | 718084c6b4aac0099d52a0dcf4c529e5b46ee686 (patch) | |
tree | 82560ff92fdf72b9ecfff8b50e95030666c6992d /src/python | |
parent | 468ae0f48615a58d8f09b76ca142fee27563964a (diff) |
disable fork test on windows
Diffstat (limited to 'src/python')
-rw-r--r-- | src/python/grpcio_tests/tests/unit/_server_shutdown_scenarios.py | 2 | ||||
-rw-r--r-- | src/python/grpcio_tests/tests/unit/_server_shutdown_test.py | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/python/grpcio_tests/tests/unit/_server_shutdown_scenarios.py b/src/python/grpcio_tests/tests/unit/_server_shutdown_scenarios.py index da8cef0c43..acbec0f77d 100644 --- a/src/python/grpcio_tests/tests/unit/_server_shutdown_scenarios.py +++ b/src/python/grpcio_tests/tests/unit/_server_shutdown_scenarios.py @@ -63,7 +63,7 @@ class GenericHandler(grpc.GenericRpcHandler): return None -def run_server(port_queue,): +def run_server(port_queue): server = grpc.server( futures.ThreadPoolExecutor(max_workers=10), options=(('grpc.so_reuseport', 0),)) diff --git a/src/python/grpcio_tests/tests/unit/_server_shutdown_test.py b/src/python/grpcio_tests/tests/unit/_server_shutdown_test.py index 25d7f5e819..0e4591c5e5 100644 --- a/src/python/grpcio_tests/tests/unit/_server_shutdown_test.py +++ b/src/python/grpcio_tests/tests/unit/_server_shutdown_test.py @@ -74,6 +74,7 @@ class ServerShutdown(unittest.TestCase): stderr=sys.stderr) wait(process) + @unittest.skipIf(os.name == 'nt', 'fork not supported on windows') def test_server_fork_can_exit(self): process = subprocess.Popen( BASE_COMMAND + [_server_shutdown_scenarios.SERVER_FORK_CAN_EXIT], |