You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by is...@apache.org on 2017/01/07 08:44:37 UTC
lucene-solr:jira/solr-5944: SOLR-5944: Removing a faulty assumption
from recovery test, marking nocommit dependency on SOLR-9941
Repository: lucene-solr
Updated Branches:
refs/heads/jira/solr-5944 378a283cc -> 17243ca4f
SOLR-5944: Removing a faulty assumption from recovery test, marking nocommit dependency on SOLR-9941
Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/17243ca4
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/17243ca4
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/17243ca4
Branch: refs/heads/jira/solr-5944
Commit: 17243ca4f2f2e1b187ef0f36f3846488bc93c2be
Parents: 378a283
Author: Ishan Chattopadhyaya <is...@apache.org>
Authored: Sat Jan 7 14:14:25 2017 +0530
Committer: Ishan Chattopadhyaya <is...@apache.org>
Committed: Sat Jan 7 14:14:25 2017 +0530
----------------------------------------------------------------------
solr/core/src/test/org/apache/solr/search/TestRecovery.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/17243ca4/solr/core/src/test/org/apache/solr/search/TestRecovery.java
----------------------------------------------------------------------
diff --git a/solr/core/src/test/org/apache/solr/search/TestRecovery.java b/solr/core/src/test/org/apache/solr/search/TestRecovery.java
index 3cab869..00d8906 100644
--- a/solr/core/src/test/org/apache/solr/search/TestRecovery.java
+++ b/solr/core/src/test/org/apache/solr/search/TestRecovery.java
@@ -1121,6 +1121,8 @@ public class TestRecovery extends SolrTestCaseJ4 {
@Test
public void testLogReplayWithInPlaceUpdatesAndDeletes() throws Exception {
+ // nocommit: Fails due to SOLR-9941
+
try {
DirectUpdateHandler2.commitOnClose = false;
@@ -1173,8 +1175,6 @@ public class TestRecovery extends SolrTestCaseJ4 {
h.close();
createCore();
- // Clearing the updatelog as it would happen after a fresh node restart
- h.getCore().getUpdateHandler().getUpdateLog().deleteAll();
// Solr should kick this off now
// h.getCore().getUpdateHandler().getUpdateLog().recoverFromLog();