14 """Test of RPCs made using local credentials."""
16 from concurrent.futures
import ThreadPoolExecutor
27 lambda request, unused_context: request)
37 @unittest.skipIf(os.name ==
'nt',
38 'TODO(https://github.com/grpc/grpc/issues/20078)')
40 server_addr =
'localhost:{}'
42 grpc.LocalConnectionType.LOCAL_TCP)
44 grpc.LocalConnectionType.LOCAL_TCP)
47 port = server.add_secure_port(server_addr.format(0), server_creds)
50 channel_creds)
as channel:
53 channel.unary_unary(
'/test/method')(b
'abc',
57 @unittest.skipIf(os.name ==
'nt',
58 'Unix Domain Socket is not supported on Windows')
60 server_addr =
'unix:/tmp/grpc_fullstack_test'
62 grpc.LocalConnectionType.UDS)
64 grpc.LocalConnectionType.UDS)
67 server.add_secure_port(server_addr, server_creds)
72 channel.unary_unary(
'/test/method')(b
'abc',
77 if __name__ ==
'__main__':