summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)