ruby/test/net/imap
normal 0783fd9366 test/net/imap/test_imap.rb (test_exception_during_idle): kill infinite looper
It is possible for Mutex#sleep (via ConditionVariable#wait)
to prematurely wake up under MJIT (because Mutex#sleep can't
handle spurious wakeups).  This affects @idle_done_cond in
Net::IMAP#idle and means the response handler may never
set `in_idle' to `true`.

In any case, ensure the infinite looping `raiser' thread
stops running when the test is done.

Will work on reducing the effect of spurious wakeups from
MJIT...

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64387 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-08-16 03:37:14 +00:00
..
Makefile test/net/imap/test_imap.rb: fix test failures due to expired certs 2014-01-03 01:46:55 +00:00
test_imap.rb test/net/imap/test_imap.rb (test_exception_during_idle): kill infinite looper 2018-08-16 03:37:14 +00:00
test_imap_response_parser.rb `$SAFE` as a process global state. [Feature #14250] 2017-12-28 20:09:24 +00:00