From: 375gnu <375gnu@gmail.com>
To: kgio@librelist.org
Subject: kgio test_signal_close failed
Date: Sun, 4 Mar 2012 19:12:18 +0300 [thread overview]
Message-ID: <CAAB-KcmUwrm6_QvaiYA7LG3ES=Ro8zET4QM_Sb7nvVRpzwtShQ@mail.gmail.com> (raw)
In-Reply-To: <CAAB-KcmUwrm6_QvaiYA7LG3ES=Ro8zET4QM_Sb7nvVRpzwtShQ@mail.gmail.com>
Sometimes test_signal_close from test_poll.rb fails. Not every time, and only
with ruby1.9 (1.9.3.0 is my current version). With ruby 1.8.7 it's passed.
There is an output:
Failure: <IOError> exception expected but none was thrown.
test_signal_close(TestPoll)
/home/globus/work/pkg-ruby-extras/build-area/ruby-kgio-2.7.2/test/test_poll.rb:61:in
`test_signal_close'
58: res = nil
59: thr = Thread.new { sleep 0.100; Process.kill(:USR1, $$) }
60: t0 = Time.now
=> 61: assert_raises(IOError) { Kgio.poll({@rd => Kgio::POLLIN}) }
62: diff = Time.now - t0
63: thr.join
64: assert diff >= 0.010, "diff=#{diff}"
--
https://375gnu.wordpress.com/
https://launchpad.net/~375gnu/+archive/ppa
next parent reply other threads:[~2012-03-04 16:12 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-04 16:12 375gnu [this message]
2012-03-04 19:17 ` kgio test_signal_close failed Eric Wong
2012-03-05 18:56 ` 375gnu
2012-03-05 22:30 ` Eric Wong
2012-03-06 16:34 ` 375gnu
2012-03-07 9:17 ` Eric Wong
2012-03-07 9:51 ` Iñaki Baz Castillo
2012-03-07 10:16 ` Eric Wong
2012-03-07 10:23 ` Iñaki Baz Castillo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://yhbt.net/kgio/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAAB-KcmUwrm6_QvaiYA7LG3ES=Ro8zET4QM_Sb7nvVRpzwtShQ@mail.gmail.com' \
--to=375gnu@gmail.com \
--cc=kgio@librelist.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://yhbt.net/kgio.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).