mirror of https://github.com/apache/lucene.git
tests: try to prevent corrupt tlog test from failing other methods on windows
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1384420 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
0e33ea10fe
commit
e494b8841b
|
@ -915,6 +915,10 @@ public class TestRecovery extends SolrTestCaseJ4 {
|
|||
|
||||
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;
|
||||
|
|
Loading…
Reference in New Issue