summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-10-24 17:36:07 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-10-24 17:36:07 +0000
commit7ef4dccca86efe573816273858a16ba05e8930e7 (patch)
tree9500636a59a5901f316970ef92b3427898dbbb43
parent5d5315ad3b4cdfb87fb27955dfef96085cd4fcb2 (diff)
0.1 second is not enough for FreeBSD
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52271 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--test/net/imap/test_imap.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/net/imap/test_imap.rb b/test/net/imap/test_imap.rb
index d68342c067..3476b66c79 100644
--- a/test/net/imap/test_imap.rb
+++ b/test/net/imap/test_imap.rb
@@ -310,7 +310,8 @@ class IMAPTest < Test::Unit::TestCase
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)