Return-Path: Delivered-To: apmail-incubator-lucene-net-commits-archive@minotaur.apache.org Received: (qmail 48957 invoked from network); 23 Nov 2009 13:09:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 23 Nov 2009 13:09:33 -0000 Received: (qmail 25538 invoked by uid 500); 23 Nov 2009 13:09:33 -0000 Delivered-To: apmail-incubator-lucene-net-commits-archive@incubator.apache.org Received: (qmail 25487 invoked by uid 500); 23 Nov 2009 13:09:33 -0000 Mailing-List: contact lucene-net-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: lucene-net-dev@incubator.apache.org Delivered-To: mailing list lucene-net-commits@incubator.apache.org Received: (qmail 25478 invoked by uid 99); 23 Nov 2009 13:09:33 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Nov 2009 13:09:33 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Nov 2009 13:09:30 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 6BB8823888D0; Mon, 23 Nov 2009 13:09:10 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r883332 - /incubator/lucene.net/trunk/C#/src/Test/Search/TestTimeLimitedCollector.cs Date: Mon, 23 Nov 2009 13:09:10 -0000 To: lucene-net-commits@incubator.apache.org From: aroush@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20091123130910.6BB8823888D0@eris.apache.org> Author: aroush Date: Mon Nov 23 13:09:10 2009 New Revision: 883332 URL: http://svn.apache.org/viewvc?rev=883332&view=rev Log: LUCENENET-301: Tests on TestTimeLimitedCollector fail Modified: incubator/lucene.net/trunk/C#/src/Test/Search/TestTimeLimitedCollector.cs Modified: incubator/lucene.net/trunk/C#/src/Test/Search/TestTimeLimitedCollector.cs URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Test/Search/TestTimeLimitedCollector.cs?rev=883332&r1=883331&r2=883332&view=diff ============================================================================== --- incubator/lucene.net/trunk/C#/src/Test/Search/TestTimeLimitedCollector.cs (original) +++ incubator/lucene.net/trunk/C#/src/Test/Search/TestTimeLimitedCollector.cs Mon Nov 23 13:09:10 2009 @@ -377,6 +377,7 @@ } } System.Diagnostics.Debug.Assert(docId >= 0, "doc=" + docId); + bits.Length = Math.Max(bits.Length, docId + 1); bits.Set(docId, true); lastDocCollected = docId; }