Return-Path: Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: (qmail 66884 invoked from network); 3 Feb 2011 02:30:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 3 Feb 2011 02:30:54 -0000 Received: (qmail 42214 invoked by uid 500); 3 Feb 2011 02:30:52 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 42144 invoked by uid 500); 3 Feb 2011 02:30:52 -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 42137 invoked by uid 99); 3 Feb 2011 02:30:52 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Feb 2011 02:30:52 +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; Thu, 03 Feb 2011 02:30:50 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 18C3618B76D for ; Thu, 3 Feb 2011 02:30:29 +0000 (UTC) Date: Thu, 3 Feb 2011 02:30:29 +0000 (UTC) From: "Robert Muir (JIRA)" To: dev@lucene.apache.org Message-ID: <187954961.6623.1296700229097.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <2864791.6901289401694001.JavaMail.jira@thor> Subject: [jira] Commented: (LUCENE-2751) add LuceneTestCase.newSearcher() 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-2751?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12989944#comment-12989944 ] Robert Muir commented on LUCENE-2751: ------------------------------------- I fixed the hangs, it was due to a similar recursion bug that trunk had (IndexSearcher setting itself as a sub). I committed the patch, but i added an @Ignore to the testNormalizeScores: {noformat} [junit] Testsuite: org.apache.lucene.search.TestSort [junit] Tests run: 26, Failures: 0, Errors: 0, Time elapsed: 2.471 sec [junit] [junit] ------------- Standard Error ----------------- [junit] NOTE: Ignoring test method 'testNormalizedScores': Fix me! Fails if one of the subs is a threaded indexsearcher [junit] ------------- ---------------- --------------- {noformat} I think we should get to the bottom of why this one fails... I'll keep the issue open. > add LuceneTestCase.newSearcher() > -------------------------------- > > Key: LUCENE-2751 > URL: https://issues.apache.org/jira/browse/LUCENE-2751 > Project: Lucene - Java > Issue Type: Test > Components: Build > Reporter: Robert Muir > Assignee: Robert Muir > Fix For: 3.1, 4.0 > > Attachments: LUCENE-2751.patch, LUCENE-2751.patch, LUCENE-2751.patch, LUCENE-2751.patch, LUCENE-2751.patch, LUCENE-2751.patch, LUCENE-2751_branch3x.patch > > > Most tests in the search package don't care about what kind of searcher they use. > we should randomly use MultiSearcher or ParallelMultiSearcher sometimes in tests. -- 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