You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ma...@apache.org on 2011/08/23 23:58:25 UTC
svn commit: r1160895 -
/lucene/dev/trunk/solr/core/src/test/org/apache/solr/update/AutoCommitTest.java
Author: markrmiller
Date: Tue Aug 23 21:58:25 2011
New Revision: 1160895
URL: http://svn.apache.org/viewvc?rev=1160895&view=rev
Log:
see what charlie cron thinks of this - charlie is sometimes slow and peculiar, so who knows
Modified:
lucene/dev/trunk/solr/core/src/test/org/apache/solr/update/AutoCommitTest.java
Modified: lucene/dev/trunk/solr/core/src/test/org/apache/solr/update/AutoCommitTest.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/core/src/test/org/apache/solr/update/AutoCommitTest.java?rev=1160895&r1=1160894&r2=1160895&view=diff
==============================================================================
--- lucene/dev/trunk/solr/core/src/test/org/apache/solr/update/AutoCommitTest.java (original)
+++ lucene/dev/trunk/solr/core/src/test/org/apache/solr/update/AutoCommitTest.java Tue Aug 23 21:58:25 2011
@@ -451,7 +451,7 @@ public class AutoCommitTest extends Abst
assertQ("deleted, but should still be there", req("id:529") ,"//result[@numFound=1]" );
// Wait longer than the autocommit time
- assertTrue(softTrigger.waitForNewSearcher(15000));
+ assertTrue(softTrigger.waitForNewSearcher(30000));
softTrigger.reset();
@@ -472,7 +472,7 @@ public class AutoCommitTest extends Abst
assertQ("should not be there yet", req("id:500") ,"//result[@numFound=0]" );
// Wait longer than the autocommit time
- assertTrue(softTrigger.waitForNewSearcher(15000));
+ assertTrue(softTrigger.waitForNewSearcher(30000));
softTrigger.reset();
req.setContentStreams( toContentStreams(
@@ -485,14 +485,14 @@ public class AutoCommitTest extends Abst
|| softCommitCnt == 3);
// depending on timing, you might see 1 or 2 hard commits
- assertTrue(hardTrigger.waitForNewSearcher(15000));
+ assertTrue(hardTrigger.waitForNewSearcher(30000));
hardTrigger.reset();
int hardCommitCnt = hardTracker.getCommitCount();
assertTrue("commit cnt:" + hardCommitCnt, hardCommitCnt == 1
|| hardCommitCnt == 2);
- assertTrue(softTrigger.waitForNewSearcher(15000));
+ assertTrue(softTrigger.waitForNewSearcher(30000));
softTrigger.reset();
assertQ("now it should", req("id:500") ,"//result[@numFound=1]" );