Bump timeouts in ruby end2end tests (#31266)

pull/31269/head
apolcyn 2 years ago committed by GitHub
parent 8f1004f435
commit dc3e7a3f0d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/ruby/end2end/channel_closing_test.rb
  2. 2
      src/ruby/end2end/channel_state_test.rb
  3. 2
      src/ruby/end2end/end2end_common.rb
  4. 2
      src/ruby/end2end/forking_client_client.rb
  5. 2
      src/ruby/end2end/forking_client_test.rb
  6. 2
      src/ruby/end2end/grpc_class_init_test.rb
  7. 2
      src/ruby/end2end/killed_client_thread_test.rb
  8. 2
      src/ruby/end2end/sig_int_during_channel_watch_test.rb

@ -31,7 +31,7 @@ def main
sleep 3
begin
Timeout.timeout(20) do
Timeout.timeout(120) do
loop do
begin
client_controller.stub.shutdown(ClientControl::Void.new)

@ -31,7 +31,7 @@ def main
Process.kill('SIGTERM', client_controller.client_pid)
begin
Timeout.timeout(10) { Process.wait(client_controller.client_pid) }
Timeout.timeout(120) { Process.wait(client_controller.client_pid) }
rescue Timeout::Error
STDERR.puts "timeout wait for client pid #{client_controller.client_pid}"
Process.kill('SIGKILL', client_controller.client_pid)

@ -102,7 +102,7 @@ class ClientController < ClientControl::ParentController::Service
"--parent_controller_port=#{port}",
"--server_port=#{server_port}")
begin
Timeout.timeout(10) do
Timeout.timeout(60) do
@client_controller_port_mu.synchronize do
while @client_controller_port.nil?
@client_controller_port_cv.wait(@client_controller_port_mu)

@ -37,7 +37,7 @@ def main
end
begin
Timeout.timeout(10) do
Timeout.timeout(120) do
Process.wait(p)
end
rescue Timeout::Error

@ -25,7 +25,7 @@ def main
'forking_client_client.rb', server_port)
begin
Timeout.timeout(10) do
Timeout.timeout(180) do
Process.wait(client_controller.client_pid)
end
rescue Timeout::Error

@ -39,7 +39,7 @@ def main
"--grpc_class=#{grpc_class}",
"--stress_test=#{stress_test_type}")
begin
Timeout.timeout(10) do
Timeout.timeout(120) do
Process.wait(client_pid)
end
rescue Timeout::Error

@ -65,7 +65,7 @@ def main
STDERR.puts 'sent shutdown'
begin
Timeout.timeout(10) do
Timeout.timeout(120) do
Process.wait(client_controller.client_pid)
end
rescue Timeout::Error

@ -32,7 +32,7 @@ def main
sleep 1
Process.kill('SIGINT', client_controller.client_pid)
begin
Timeout.timeout(10) do
Timeout.timeout(120) do
Process.wait(client_controller.client_pid)
end
rescue Timeout::Error

Loading…
Cancel
Save