1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
Kazuhiro NISHIYAMA 2020-01-29 14:58:43 +09:00
parent 7b4b01424f
commit d142b37bdc
No known key found for this signature in database
GPG key ID: 262ED8DBB4222F7A

View file

@ -489,7 +489,16 @@ class IMAPTest < Test::Unit::TestCase
server: @@h[:server].inspect,
t: Process.clock_gettime(Process::CLOCK_MONOTONIC),
}
super
#super
s = Socket.tcp(host, port, :connect_timeout => @open_timeout)
@@h[:in_tcp_socket_2] = {
s: s.inspect,
local_address: s.local_address,
remote_address: s.remote_address,
t: Process.clock_gettime(Process::CLOCK_MONOTONIC),
}
s.setsockopt(:SOL_SOCKET, :SO_KEEPALIVE, true)
s
end
end
start_server do
@ -523,7 +532,7 @@ class IMAPTest < Test::Unit::TestCase
raise Errno::EINVAL
end
end
rescue Errno::EINVAL => e # for debug on OpenCSW
rescue SystemCallError => e # for debug on OpenCSW
h[:in_rescue] = {
e: e,
server_addr: server_addr,