test/instrumentation/grpc_test.rb in instana-1.193.2 vs test/instrumentation/grpc_test.rb in instana-1.193.3.pre1
- old
+ new
@@ -1,6 +1,7 @@
require 'test_helper'
+require 'support/apps/grpc/boot'
class GrpcTest < Minitest::Test
def client_stub
PingPongService::Stub.new('127.0.0.1:50051', :this_channel_is_insecure)
end
@@ -223,10 +224,10 @@
sdk_span = find_spans_by_name(spans, :rpctests).first
client_span = find_spans_by_name(spans, :'rpc-client').first
server_span = find_spans_by_name(spans, :'rpc-server').first
validate_sdk_span(sdk_span)
-
+
assert_client_span(
client_span,
call: '/PingPongService/FailToPing',
call_type: :request_response,
error: 'Unexpected failed'