fix style issue

pull/35488/head
Alan Wu 1 year ago
parent 27e995c532
commit cdd2dde0e9
  1. 4
      src/ruby/end2end/fork_test_repro_35489.rb

@ -44,8 +44,8 @@ def main
to_parent_w.close to_parent_w.close
child_port = to_parent_r.gets.strip child_port = to_parent_r.gets.strip
STDERR.puts "server running on port: #{child_port}" STDERR.puts "server running on port: #{child_port}"
key = "grpc." * 100000 # large enough to malloc backing storage key = "grpc." * 100_000 # large enough to malloc backing storage
value = "testvalue" * 100000 value = "testvalue" * 100_000
stub = Echo::EchoServer::Stub.new("localhost:#{child_port}", :this_channel_is_insecure, channel_args: { key => value }) stub = Echo::EchoServer::Stub.new("localhost:#{child_port}", :this_channel_is_insecure, channel_args: { key => value })
with_logging("parent: GRPC.prefork") { GRPC.prefork } with_logging("parent: GRPC.prefork") { GRPC.prefork }
pid = fork do pid = fork do

Loading…
Cancel
Save