jspwiki-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jalka...@apache.org
Subject svn commit: r692357 - /incubator/jspwiki/trunk/tests/com/ecyrd/jspwiki/search/SearchManagerTest.java
Date Fri, 05 Sep 2008 07:13:54 GMT
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" );
 



Mime
View raw message