use of com.google.devtools.cloudtrace.v1.TraceServiceGrpc.TraceServiceBlockingStub in project zipkin-gcp by openzipkin.
the class ZipkinStackdriverStorageIntegrationTest method mockGrpcServerServesOverSSL.
@Test
public void mockGrpcServerServesOverSSL() {
// sanity checks the mock server
NettyChannelBuilder channelBuilder = NettyChannelBuilder.forTarget(mockServer.grpcURI());
TraceServiceBlockingStub sslTraceService = TraceServiceGrpc.newBlockingStub(channelBuilder.sslContext(CLIENT_SSL_CONTEXT).build());
sslTraceService.patchTraces(PatchTracesRequest.getDefaultInstance());
}
Aggregations