[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ruby-cvs
Subject:    [ruby-cvs:85642] 19504d115d (master): test/net/smtp/test_smtp.rb: wait a moment before socket is clo
From:       "Yusuke Endoh" <mame () ruby-lang ! org>
Date:       2021-04-29 16:40:01
Message-ID: 20210429164001.7169F61D79 () svn ! ruby-lang ! org
[Download RAW message or body]

Yusuke Endoh	2021-04-30 01:36:04 +0900 (Fri, 30 Apr 2021)

  New Revision: 19504d115d

  https://github.com/ruby/ruby/commit/19504d115d

  Log:
    test/net/smtp/test_smtp.rb: wait a moment before socket is closed
    =

    On Solaris, Socket.tcp seems to fail with EINVAL if the server closes=

    the connection immediately after accpeted. I think this is a bug of
    Socket.tcp, but seems difficult to fix soon.
    =

    http://rubyci.s3.amazonaws.com/solaris11-sunc/ruby-master/log/2021042=
9T100007Z.fail.html.gz
    ```
      1) Failure:
    Net::TestSMTP#test_eof_error_backtrace [/export/home/chkbuild/chkbuil=
d-sunc/tmp/build/20210429T100007Z/ruby/test/net/smtp/test_smtp.rb:193]:
    [ruby-core:78550] [Bug #13018].
    [EOFError] exception expected, not #<Net::ReadTimeout: Net::ReadTimeo=
ut>.
    ```

  Modified files:
    test/net/smtp/test_smtp.rb=
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic