test/instrumentation/grpc_test.rb in instana-1.11.6-java vs test/instrumentation/grpc_test.rb in instana-1.11.7
- old
+ new
@@ -12,10 +12,10 @@
assert_equal call, data[:rpc][:call]
assert_equal call_type, data[:rpc][:call_type]
if error
assert_equal true, data[:rpc][:error]
- assert_equal "2:RuntimeError: #{error}", data[:log][:message]
+ assert data[:log][:message].include?("2:RuntimeError: #{error}")
end
end
def assert_server_span(server_span, call: '', call_type: '', error: nil)
# Span name validation