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: AS6939 64.71.128.0/18 X-Spam-Status: No, score=-0.9 required=3.0 tests=AWL,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: 375gnu <375gnu@gmail.com> Newsgroups: gmane.comp.lang.ruby.kgio.general Subject: Re: kgio test_signal_close failed Date: Mon, 5 Mar 2012 21:56:04 +0300 Message-ID: References: <20120304191752.GA30236@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: dough.gmane.org 1330974302 6457 80.91.229.3 (5 Mar 2012 19:05:02 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 5 Mar 2012 19:05:02 +0000 (UTC) To: kgio@librelist.org Original-X-From: kgio@librelist.org Mon Mar 05 20:05:01 2012 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:89 Archived-At: Received: from zedshaw.xen.prgmr.com ([64.71.167.205]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1S4dDO-00088v-ST for gclrkg-kgio@m.gmane.org; Mon, 05 Mar 2012 20:04:59 +0100 Received: from zedshaw.xen.prgmr.com (localhost [IPv6:::1]) by zedshaw.xen.prgmr.com (Postfix) with ESMTP id 4A20721D44D for ; Mon, 5 Mar 2012 19:10:49 +0000 (UTC) On 3/4/12, Eric Wong wrote: > 375gnu <375gnu@gmail.com> wrote: >> 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. > Is this also on Debian/kfreebsd? Not (0 of 25 times). But it runs in kvm, so it's much slower than real linux box (110 sec for all tests vs. 75). >> 59: thr = Thread.new { sleep 0.100; Process.kill(:USR1, $$) } > > Does increasing the sleep time there help? It's a potential race > condition :/ No, even with "sleep 2" (1 of 10 is failed) -- https://375gnu.wordpress.com/ https://launchpad.net/~375gnu/+archive/ppa