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: Re: Test failure caused by commit 377028d99 Date: Thu, 5 Sep 2013 22:48:05 +0300 Message-ID: References: <20130904201440.GA14313@deneb> <20130904205114.GA4864@dcvr.yhbt.net> 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 1378410494 25536 80.91.229.3 (5 Sep 2013 19:48:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 5 Sep 2013 19:48:14 +0000 (UTC) To: kgio@librelist.org Original-X-From: kgio@librelist.org Thu Sep 05 21:48:17 2013 Return-path: Envelope-to: gclrkg-kgio@m.gmane.org 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:212 Archived-At: Received: from zedshaw2.xen.prgmr.com ([71.19.156.177]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VHfXN-0002Ju-2L for gclrkg-kgio@m.gmane.org; Thu, 05 Sep 2013 21:48:17 +0200 Received: from zedshaw2.xen.prgmr.com (unknown [IPv6:::1]) by zedshaw2.xen.prgmr.com (Postfix) with ESMTP id 1F4BB73E10 for ; Thu, 5 Sep 2013 19:57:21 +0000 (UTC) On 9/4/13, Eric Wong wrote: > Does the following change increase reliability for you? Yes, it helps. Thanks. > --- a/test/test_poll.rb > +++ b/test/test_poll.rb > @@ -96,7 +96,10 @@ def test_poll_EINTR_changed > end > thr = Thread.new do > sleep 0.100 > - Process.kill(:USR1, $$) > + 100.times do > + Process.kill(:USR1, $$) > + Thread.pass > + end > end > t0 = Time.now > res = Kgio.poll(pollset, 1000)