mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue