Return-Path: X-Original-To: apmail-lucene-dev-archive@www.apache.org Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9106A650C for ; Mon, 4 Jul 2011 13:55:45 +0000 (UTC) Received: (qmail 31628 invoked by uid 500); 4 Jul 2011 13:55:44 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 31540 invoked by uid 500); 4 Jul 2011 13:55:43 -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 31530 invoked by uid 99); 4 Jul 2011 13:55:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Jul 2011 13:55:43 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Jul 2011 13:55:42 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 13AB636E9D for ; Mon, 4 Jul 2011 13:55:22 +0000 (UTC) Date: Mon, 4 Jul 2011 13:55:22 +0000 (UTC) From: "Shai Erera (JIRA)" To: dev@lucene.apache.org Message-ID: <555913938.1861.1309787722077.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <235074753.7452.1309481188515.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (LUCENE-3268) TestScoredDocIDsUtils.testWithDeletions test failure MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/LUCENE-3268?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13059439#comment-13059439 ] Shai Erera commented on LUCENE-3268: ------------------------------------ Ok I found the problem. The test relies on Lucene doc IDs to assert the results. So at first I went for disabling merges (because they removed deleted docs and screwed up the IDs), but that didn't help entirely because for some seeds, a whole segment turned up to be deleted, and thus dropped, screwing up the IDs as well. So I fixed the test to add a stored field to all the docs that are deleted, and then instead of asserting that the returned docID was not marked for deletion, I assert that the returned document does not contain that field. I ran the test w/ -Dtests.iter=10000 (10K) and it didn't find any bad seed. Previously it hunted them pretty quickly ! I'll commit a fix shortly to 3x and trunk. > TestScoredDocIDsUtils.testWithDeletions test failure > ---------------------------------------------------- > > Key: LUCENE-3268 > URL: https://issues.apache.org/jira/browse/LUCENE-3268 > Project: Lucene - Java > Issue Type: Bug > Components: modules/facet > Reporter: Robert Muir > Assignee: Shai Erera > Fix For: 3.4, 4.0 > > > ant test -Dtestcase=TestScoredDocIDsUtils -Dtestmethod=testWithDeletions -Dtests.seed=-2216133137948616963:2693740419732273624 -Dtests.multiplier=5 > In general, on both 3.x and trunk, if you run this test with -Dtests.iter=100 it tends to fail 2% of the time. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org