[前][次][番号順一覧][スレッド一覧]

ruby-changes:63955

From: Masaki <ko1@a...>
Date: Sat, 5 Dec 2020 17:45:59 +0900 (JST)
Subject: [ruby-changes:63955] 5e58a9033f (master): Reduce timeout of test_getaddrinfo_after_fork

https://git.ruby-lang.org/ruby.git/commit/?id=5e58a9033f

From 5e58a9033fa795b73c76a5bb6a2fb7782335acbd Mon Sep 17 00:00:00 2001
From: Masaki Matsushita <glass.saga@g...>
Date: Sat, 5 Dec 2020 17:43:03 +0900
Subject: Reduce timeout of test_getaddrinfo_after_fork


diff --git a/test/socket/test_socket.rb b/test/socket/test_socket.rb
index 96304b0..f0b3f66 100644
--- a/test/socket/test_socket.rb
+++ b/test/socket/test_socket.rb
@@ -108,7 +108,7 @@ class TestSocket < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/socket/test_socket.rb#L108
       require "socket"
       Socket.getaddrinfo("localhost", nil)
       pid = fork { Socket.getaddrinfo("localhost", nil) }
-      assert_equal pid, Timeout.timeout(30) { Process.wait(pid) }
+      assert_equal pid, Timeout.timeout(3) { Process.wait(pid) }
     end;
   end
 
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]