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
This commit is contained in:
parent
5d5315ad3b
commit
7ef4dccca8
@ -310,7 +310,8 @@ class IMAPTest < Test::Unit::TestCase
|
|||||||
begin
|
begin
|
||||||
imap = Net::IMAP.new(SERVER_ADDR, :port => port)
|
imap = Net::IMAP.new(SERVER_ADDR, :port => port)
|
||||||
responses = []
|
responses = []
|
||||||
imap.idle(0.1) do |res|
|
Thread.pass
|
||||||
|
imap.idle(0.2) do |res|
|
||||||
responses.push(res)
|
responses.push(res)
|
||||||
end
|
end
|
||||||
assert_equal(3, responses.length)
|
assert_equal(3, responses.length)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user