From 7ef4dccca86efe573816273858a16ba05e8930e7 Mon Sep 17 00:00:00 2001 From: naruse Date: Sat, 24 Oct 2015 17:36:07 +0000 Subject: 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 --- test/net/imap/test_imap.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'test') 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) -- cgit v1.2.3