jspwiki-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mets...@apache.org
Subject svn commit: r1510244 - /jspwiki/trunk/jspwiki-war/src/test/java/org/apache/wiki/search/SearchManagerTest.java
Date Sun, 04 Aug 2013 16:42:03 GMT
Author: metskem
Date: Sun Aug  4 16:42:03 2013
New Revision: 1510244

URL: http://svn.apache.org/r1510244
Log:
more JSPWIKI-799, correct message now...

Modified:
    jspwiki/trunk/jspwiki-war/src/test/java/org/apache/wiki/search/SearchManagerTest.java

Modified: jspwiki/trunk/jspwiki-war/src/test/java/org/apache/wiki/search/SearchManagerTest.java
URL: http://svn.apache.org/viewvc/jspwiki/trunk/jspwiki-war/src/test/java/org/apache/wiki/search/SearchManagerTest.java?rev=1510244&r1=1510243&r2=1510244&view=diff
==============================================================================
--- jspwiki/trunk/jspwiki-war/src/test/java/org/apache/wiki/search/SearchManagerTest.java
(original)
+++ jspwiki/trunk/jspwiki-war/src/test/java/org/apache/wiki/search/SearchManagerTest.java
Sun Aug  4 16:42:03 2013
@@ -72,12 +72,13 @@ public class SearchManagerTest extends T
     Collection waitForIndex( String text, String testName ) throws Exception
     {
         Collection res = null;
-        for( long l = 0; l < 500; l++ )
+        int waitCount = 500;
+        for( long l = 0; l < waitCount; l++ )
         {
             if( res == null || res.isEmpty() )
             {
                 Thread.sleep( SLEEP_TIME );
-                System.out.println( "SearchManagerTest.waitForIndex for " + testName + "
sleeping " + l + " (out of 20)" );
+                System.out.println( "SearchManagerTest.waitForIndex for " + testName + "
sleeping " + l + " (out of " + waitCount + ")" );
             }
             else
             {



Mime
View raw message