kgio RubyGem user+dev discussion/patches/pulls/bugs/help
 help / color / mirror / code / Atom feed
* Test failure caused by commit 377028d99
@ 2013-09-04 20:14 Hleb Valoshka
  2013-09-04 20:51 ` Eric Wong
  0 siblings, 1 reply; 9+ messages in thread
From: Hleb Valoshka @ 2013-09-04 20:14 UTC (permalink / raw)
  To: kgio

On my Debian Sid with kernel 3.11-rc7 4 of 5 invocations of
test_poll_EINTR_changed finished with failure:

$ make test/test_poll.rb
ruby -I lib:tmp/ext/ruby-1.9.3/ext/kgio test/test_poll.rb 
Loaded suite test/test_poll
Started
..F
===============================================================================
Failure:
test_poll_EINTR_changed(TestPoll)
test/test_poll.rb:105:in `test_poll_EINTR_changed'
     102:     res = Kgio.poll(pollset, 1000)
     103:     diff = Time.now - t0
     104:     thr.join
  => 105:     assert_equal({@wr => Kgio::POLLOUT}, res)
     106:     assert diff < 1.0, "diff=#{diff}"
     107:     assert ok
     108:     ensure
<{#<IO:fd 6>=>4}> expected but was
<nil>

diff:
? {#<IO:fd 6>=>4}
? nil            
===============================================================================
......

Finished in 7.476580682 seconds.

9 tests, 22 assertions, 1 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications
88.8889% passed

1.20 tests/s, 2.94 assertions/s

With commit 377028d99 (test_poll: avoid potentially thread-unsafe test)
reverted this test finishes successfully.


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2013-09-25 17:46 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-09-04 20:14 Test failure caused by commit 377028d99 Hleb Valoshka
2013-09-04 20:51 ` Eric Wong
2013-09-05  7:55   ` Hleb Valoshka
2013-09-05 19:48   ` Hleb Valoshka
2013-09-05 23:13     ` Eric Wong
2013-09-15 19:07       ` Hleb Valoshka
2013-09-21  9:30         ` Eric Wong
2013-09-24 15:02           ` Hleb Valoshka
2013-09-25 17:46             ` Eric Wong

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).