test/instrumentation/grpc_test.rb in instana-1.5.2 vs test/instrumentation/grpc_test.rb in instana-1.6.0

- old
+ new

@@ -74,10 +74,11 @@ Instana.tracer.start_or_continue_trace(:rpctests) do response = client_stub.ping( PingPongService::PingRequest.new(message: 'Hello World') ) end + sleep 1 assert 'Hello World', response.message # Pause for a split second to allow traces to be queued sleep 0.2 @@ -109,9 +110,10 @@ (0..5).map do |index| PingPongService::PingRequest.new(message: index.to_s) end ) end + sleep 1 assert '01234', response.message # Pause for a split second to allow traces to be queued sleep 0.2