Return-Path: Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: (qmail 78715 invoked from network); 24 Aug 2010 19:13:57 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 24 Aug 2010 19:13:57 -0000 Received: (qmail 86172 invoked by uid 500); 24 Aug 2010 19:13:56 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 86086 invoked by uid 500); 24 Aug 2010 19:13:56 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 86078 invoked by uid 99); 24 Aug 2010 19:13:56 -0000 Received: from Unknown (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Aug 2010 19:13:55 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Aug 2010 19:13:38 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o7OJDHVJ024250 for ; Tue, 24 Aug 2010 19:13:17 GMT Message-ID: <32227117.537071282677197021.JavaMail.jira@thor> Date: Tue, 24 Aug 2010 15:13:17 -0400 (EDT) From: "Shai Erera (JIRA)" To: dev@lucene.apache.org Subject: [jira] Commented: (LUCENE-2618) Intermittent failure in 3.x's backwards TestThreadedOptimize In-Reply-To: <28456138.529541282653196304.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/LUCENE-2618?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12902023#action_12902023 ] Shai Erera commented on LUCENE-2618: ------------------------------------ Sorry, I've missed the part about this happening in backwards tests. The line numbers match for me, and I see the assertion messages. I do think though that additional info such as the number of segments and deleted docs would be useful, since reader.isOptimize() will return false if either of these two is wrong. And we can add the same message to the regular test as well ... > Intermittent failure in 3.x's backwards TestThreadedOptimize > ------------------------------------------------------------ > > Key: LUCENE-2618 > URL: https://issues.apache.org/jira/browse/LUCENE-2618 > Project: Lucene - Java > Issue Type: Bug > Components: Index > Reporter: Michael McCandless > Fix For: 3.1, 4.0 > > > Failure looks like this: > {noformat} > [junit] Testsuite: org.apache.lucene.index.TestThreadedOptimize > [junit] Testcase: testThreadedOptimize(org.apache.lucene.index.TestThreadedOptimize): FAILED > [junit] null > [junit] junit.framework.AssertionFailedError: null > [junit] at org.apache.lucene.index.TestThreadedOptimize.runTest(TestThreadedOptimize.java:125) > [junit] at org.apache.lucene.index.TestThreadedOptimize.testThreadedOptimize(TestThreadedOptimize.java:149) > [junit] at org.apache.lucene.util.LuceneTestCase.runBare(LuceneTestCase.java:253) > {noformat} > I just committed some verbosity so next time it strikes we'll have more details. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org