lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yo...@apache.org
Subject svn commit: r1384420 - /lucene/dev/trunk/solr/core/src/test/org/apache/solr/search/TestRecovery.java
Date Thu, 13 Sep 2012 17:36:51 GMT
Author: yonik
Date: Thu Sep 13 17:36:51 2012
New Revision: 1384420

URL: http://svn.apache.org/viewvc?rev=1384420&view=rev
Log:
tests: try to prevent corrupt tlog test from failing other methods on windows

Modified:
    lucene/dev/trunk/solr/core/src/test/org/apache/solr/search/TestRecovery.java

Modified: lucene/dev/trunk/solr/core/src/test/org/apache/solr/search/TestRecovery.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/core/src/test/org/apache/solr/search/TestRecovery.java?rev=1384420&r1=1384419&r2=1384420&view=diff
==============================================================================
--- lucene/dev/trunk/solr/core/src/test/org/apache/solr/search/TestRecovery.java (original)
+++ lucene/dev/trunk/solr/core/src/test/org/apache/solr/search/TestRecovery.java Thu Sep 13
17:36:51 2012
@@ -915,6 +915,10 @@ public class TestRecovery extends SolrTe
 
       assertJQ(req("q","*:*") ,"/response/numFound==3");
 
+      // This messes up some other tests (on windows) if we don't remove the bad log.
+      // This *should* hopefully just be because the tests are too fragile and not because
of real bugs - but it should be investigated further.
+      deleteLogs();
+
     } finally {
       DirectUpdateHandler2.commitOnClose = true;
       UpdateLog.testing_logReplayHook = null;



Mime
View raw message