Skip to content

Commit

Permalink
0.1 second is not enough for FreeBSD
Browse files Browse the repository at this point in the history
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52271 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
nurse committed Oct 24, 2015
1 parent 5d5315a commit 7ef4dcc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/net/imap/test_imap.rb
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,8 @@ def test_idle_timeout
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)
Expand Down

0 comments on commit 7ef4dcc

Please sign in to comment.