Return-Path: Delivered-To: apmail-incubator-jspwiki-commits-archive@locus.apache.org Received: (qmail 44280 invoked from network); 5 Sep 2008 07:14:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Sep 2008 07:14:15 -0000 Received: (qmail 14868 invoked by uid 500); 5 Sep 2008 07:14:13 -0000 Delivered-To: apmail-incubator-jspwiki-commits-archive@incubator.apache.org Received: (qmail 14849 invoked by uid 500); 5 Sep 2008 07:14:13 -0000 Mailing-List: contact jspwiki-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jspwiki-dev@incubator.apache.org Delivered-To: mailing list jspwiki-commits@incubator.apache.org Received: (qmail 14840 invoked by uid 99); 5 Sep 2008 07:14:13 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Sep 2008 00:14:13 -0700 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.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Sep 2008 07:13:23 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 840932388878; Fri, 5 Sep 2008 00:13:54 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r692357 - /incubator/jspwiki/trunk/tests/com/ecyrd/jspwiki/search/SearchManagerTest.java Date: Fri, 05 Sep 2008 07:13:54 -0000 To: jspwiki-commits@incubator.apache.org From: jalkanen@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20080905071354.840932388878@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: jalkanen Date: Fri Sep 5 00:13:53 2008 New Revision: 692357 URL: http://svn.apache.org/viewvc?rev=692357&view=rev Log: Harry's modification to change the Lucene queue to less aggressive caused these tests to fail because they were searching before the queue was indexed. Modified: incubator/jspwiki/trunk/tests/com/ecyrd/jspwiki/search/SearchManagerTest.java Modified: incubator/jspwiki/trunk/tests/com/ecyrd/jspwiki/search/SearchManagerTest.java URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/tests/com/ecyrd/jspwiki/search/SearchManagerTest.java?rev=692357&r1=692356&r2=692357&view=diff ============================================================================== --- incubator/jspwiki/trunk/tests/com/ecyrd/jspwiki/search/SearchManagerTest.java (original) +++ incubator/jspwiki/trunk/tests/com/ecyrd/jspwiki/search/SearchManagerTest.java Fri Sep 5 00:13:53 2008 @@ -61,7 +61,7 @@ Thread.yield(); - Thread.sleep( 5000L ); // Should cover for both index and initial delay + Thread.sleep( 10000L ); // Should cover for both index and initial delay Collection res = m_mgr.findPages( "mankind" ); @@ -82,7 +82,7 @@ Thread.yield(); - Thread.sleep( 2000L ); // Should cover for both index and initial delay + Thread.sleep( 10000L ); // Should cover for both index and initial delay Collection res = m_mgr.findPages( "mankind" ); @@ -108,7 +108,7 @@ Thread.yield(); - Thread.sleep( 2000L ); // Should cover for both index and initial delay + Thread.sleep( 10000L ); // Should cover for both index and initial delay Collection res = m_mgr.findPages( "mankind" ); @@ -131,7 +131,7 @@ Thread.yield(); - Thread.sleep( 2000L ); // Should cover for both index and initial delay + Thread.sleep( 5000L ); // Should cover for both index and initial delay Collection res = m_mgr.findPages( "Test" ); @@ -150,7 +150,7 @@ Thread.yield(); - Thread.sleep( 2000L ); // Should cover for both index and initial delay + Thread.sleep( 5000L ); // Should cover for both index and initial delay Collection res = m_mgr.findPages( "TestPage" );