Skip to content

Commit

Permalink
Changed: Bump up sleep for GRPC test.
Browse files Browse the repository at this point in the history
  • Loading branch information
delner committed May 8, 2018
1 parent f574216 commit 40fd59b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/ddtrace/contrib/grpc/support/grpc_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ def run_client_streamer(address = '0.0.0.0:50053', client = nil)
end

def run_server_streamer(address = '0.0.0.0:50054', client = nil)
runner(address, client) { |c| c.stream_from_server(TestMessage.new); sleep 0.01 }
runner(address, client) { |c| c.stream_from_server(TestMessage.new); sleep 0.05 }
end

def run_bidi_streamer(address = '0.0.0.0:50055', client = nil)
runner(address, client) { |c| c.stream_both_ways([TestMessage.new]) }
runner(address, client) { |c| c.stream_both_ways([TestMessage.new]); sleep 0.05 }
end

def runner(address, client)
Expand Down

0 comments on commit 40fd59b

Please sign in to comment.