From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS47066 71.19.144.0/20 X-Spam-Status: No, score=-1.2 required=3.0 tests=BAYES_00,FREEMAIL_FROM, FROM_STARTS_WITH_NUMS,MSGID_FROM_MTA_HEADER shortcircuit=no autolearn=no version=3.3.2 Path: news.gmane.org!not-for-mail From: Hleb Valoshka <375gnu@gmail.com> Newsgroups: gmane.comp.lang.ruby.kgio.general Subject: Test failure caused by commit 377028d99 Date: Wed, 4 Sep 2013 23:14:40 +0300 Message-ID: <20130904201440.GA14313@deneb> References: <20130904201440.GA14313@deneb> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1378325707 19317 80.91.229.3 (4 Sep 2013 20:15:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 4 Sep 2013 20:15:07 +0000 (UTC) To: kgio@librelist.org Original-X-From: kgio@librelist.org Wed Sep 04 22:15:10 2013 Return-path: Envelope-to: gclrkg-kgio@m.gmane.org In-Reply-To: <20130904201440.GA14313@deneb> List-Archive: List-Help: List-Id: List-Post: List-Subscribe: List-Unsubscribe: Precedence: list Original-Sender: kgio@librelist.org Xref: news.gmane.org gmane.comp.lang.ruby.kgio.general:206 Archived-At: Received: from zedshaw2.xen.prgmr.com ([71.19.156.177]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VHJTq-0001P8-1B for gclrkg-kgio@m.gmane.org; Wed, 04 Sep 2013 22:15:10 +0200 Received: from zedshaw2.xen.prgmr.com (unknown [IPv6:::1]) by zedshaw2.xen.prgmr.com (Postfix) with ESMTP id AECBA75099 for ; Wed, 4 Sep 2013 20:24:09 +0000 (UTC) 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 <{#=>4}> expected but was diff: ? {#=>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.