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

ruby-changes:40190

From: naruse <ko1@a...>
Date: Sun, 25 Oct 2015 02:36:21 +0900 (JST)
Subject: [ruby-changes:40190] naruse:r52271 (trunk): 0.1 second is not enough for FreeBSD

naruse	2015-10-25 02:36:07 +0900 (Sun, 25 Oct 2015)

  New Revision: 52271

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=52271

  Log:
    0.1 second is not enough for FreeBSD

  Modified files:
    trunk/test/net/imap/test_imap.rb
Index: test/net/imap/test_imap.rb
===================================================================
--- test/net/imap/test_imap.rb	(revision 52270)
+++ test/net/imap/test_imap.rb	(revision 52271)
@@ -310,7 +310,8 @@ class IMAPTest < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/net/imap/test_imap.rb#L310
     begin
       imap = Net::IMAP.new(SERVER_ADDR, :port => port)
       responses = []
-      imap.idle(0.1) do |res|
+        Thread.pass
+      imap.idle(0.2) do |res|
         responses.push(res)
       end
       assert_equal(3, responses.length)

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

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