Return-Path: Delivered-To: apmail-lucene-java-dev-archive@www.apache.org Received: (qmail 11722 invoked from network); 3 Aug 2008 14:46:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Aug 2008 14:46:52 -0000 Received: (qmail 82971 invoked by uid 500); 3 Aug 2008 14:46:45 -0000 Delivered-To: apmail-lucene-java-dev-archive@lucene.apache.org Received: (qmail 82948 invoked by uid 500); 3 Aug 2008 14:46:45 -0000 Mailing-List: contact java-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-dev@lucene.apache.org Delivered-To: mailing list java-dev@lucene.apache.org Received: (qmail 82939 invoked by uid 99); 3 Aug 2008 14:46:45 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 03 Aug 2008 07:46:45 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of cdoronc@gmail.com designates 72.14.220.155 as permitted sender) Received: from [72.14.220.155] (HELO fg-out-1718.google.com) (72.14.220.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 03 Aug 2008 14:45:50 +0000 Received: by fg-out-1718.google.com with SMTP id l27so934343fgb.27 for ; Sun, 03 Aug 2008 07:45:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type; bh=8xgc5+9J+1u1dHV+EYal/kNawRfeyDEAcbJyONUlZMQ=; b=pC7k1dr9YqYkGaA7tUwveMrZzL5Ju+NTYB/BTS95rA3FHj2u+oIyxkURQ66jG7zqij gHRU5LWHad/OdvjDe8ShVr8ybS6VMeMXrWGWjulAD7lGeZ1QS+/qblj13vQb+CgAy/pt 9NRPJzWPRtZohq+DLkEQA4gDL5l0mgpySpJ3c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=stFUdMko8EjnezWljzpQeHfp0EJ1aOdVVvOmBvqHBhERaqdUSMsNqB+mCgRSPjusqR 076dTjNiughG8AgVTz5/Zy7+/1QkhagonUGAkHUAzLHB9ox9JhTA/UH10JSme1llcB8z kWvAx88Tlpu3sQGa1bzil2wShIvfSOeLdoW6Q= Received: by 10.86.23.17 with SMTP id 17mr9472586fgw.32.1217774759180; Sun, 03 Aug 2008 07:45:59 -0700 (PDT) Received: by 10.86.4.7 with HTTP; Sun, 3 Aug 2008 07:45:59 -0700 (PDT) Message-ID: Date: Sun, 3 Aug 2008 17:45:59 +0300 From: "Doron Cohen" To: java-dev@lucene.apache.org Subject: TestTimeLimitedCollector (was: Re: Build failed in Hudson: Lucene-trunk #543) MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_23795_14465331.1217774759172" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_23795_14465331.1217774759172 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline I checked back - this test fails about once a month. Not too bad, bust still noise. I don't like it - tests that fail occasionally hurt attitude to the project's testing as a whole. I'll create an issue for handling this. Doron On Fri, Aug 1, 2008 at 5:51 AM, Apache Hudson Server < hudson@hudson.zones.apache.org> wrote: > See http://hudson.zones.apache.org/hudson/job/Lucene-trunk/543/changes > > [junit] > [junit] Testcase: > testTimeoutNotGreedy(org.apache.lucene.search.TestTimeLimitedCollector): > FAILED > [junit] lastDoc=21 ,&& allowed=799 ,&& elapsed=900 >= 886 = ( > 2*resolution + TIME_ALLOWED + SLOW_DOWN = 2*20 + 799 + 47) > [junit] junit.framework.AssertionFailedError: lastDoc=21 ,&& allowed=799 > ,&& elapsed=900 >= 886 = ( 2*resolution + TIME_ALLOWED + SLOW_DOWN = 2*20 + > 799 + 47) > [junit] at > org.apache.lucene.search.TestTimeLimitedCollector.doTestTimeout(TestTimeLimitedCollector.java:189) > [junit] at > org.apache.lucene.search.TestTimeLimitedCollector.testTimeoutNotGreedy(TestTimeLimitedCollector.java:150) > [junit] > [junit] > [junit] Test org.apache.lucene.search.TestTimeLimitedCollector FAILED > ------=_Part_23795_14465331.1217774759172 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline
I checked back - this test fails about once a month.
Not too bad, bust still noise.
I don't like it - tests that fail occasionally hurt attitude to the project's testing as a whole.
I'll create an issue for handling this.

Doron

On Fri, Aug 1, 2008 at 5:51 AM, Apache Hudson Server <hudson@hudson.zones.apache.org> wrote:
See http://hudson.zones.apache.org/hudson/job/Lucene-trunk/543/changes

   [junit]
   [junit] Testcase: testTimeoutNotGreedy(org.apache.lucene.search.TestTimeLimitedCollector):  FAILED
   [junit] lastDoc=21 ,&& allowed=799 ,&& elapsed=900 >= 886 = ( 2*resolution +  TIME_ALLOWED + SLOW_DOWN = 2*20 + 799 + 47)
   [junit] junit.framework.AssertionFailedError: lastDoc=21 ,&& allowed=799 ,&& elapsed=900 >= 886 = ( 2*resolution +  TIME_ALLOWED + SLOW_DOWN = 2*20 + 799 + 47)
   [junit]     at org.apache.lucene.search.TestTimeLimitedCollector.doTestTimeout(TestTimeLimitedCollector.java:189)
   [junit]     at org.apache.lucene.search.TestTimeLimitedCollector.testTimeoutNotGreedy(TestTimeLimitedCollector.java:150)
   [junit]
   [junit]
   [junit] Test org.apache.lucene.search.TestTimeLimitedCollector FAILED

------=_Part_23795_14465331.1217774759172--