Sha256: a7af7fad94bc1291ba324f19335a3e79dd0c35310df9e9caec20451a7123a4c4
Contents?: true
Size: 503 Bytes
Versions: 64
Compression:
Stored size: 503 Bytes
Contents
# (c) Copyright IBM Corp. 2021 # (c) Copyright Instana Inc. 2017 require_relative 'grpc_server' ::Instana.logger.info "Booting instrumented gRPC server on port 50051 for tests." grpc_thread = Thread.new do s = GRPC::RpcServer.new Thread.current[:server] = s s.add_http2_port('127.0.0.1:50051', :this_port_is_insecure) s.handle(PingPongServer) s.run_till_terminated end Minitest.after_run do ::Instana.logger.info "Killing gRPC server" grpc_thread[:server].stop sleep 2 end sleep 2
Version data entries
64 entries across 64 versions & 1 rubygems