From d91568be775b3162a655b433684717b2193e028a Mon Sep 17 00:00:00 2001 From: Shalin Shekhar Mangar Date: Thu, 26 Jun 2014 19:20:28 +0000 Subject: [PATCH] SOLR-5309: Do not try to delete document ids whose addition had failed earlier git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1605883 13f79535-47bb-0310-9956-ffa450edef68 --- solr/core/src/test/org/apache/solr/cloud/ShardSplitTest.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/solr/core/src/test/org/apache/solr/cloud/ShardSplitTest.java b/solr/core/src/test/org/apache/solr/cloud/ShardSplitTest.java index 1b555caf48f..7812fea1d6d 100644 --- a/solr/core/src/test/org/apache/solr/cloud/ShardSplitTest.java +++ b/solr/core/src/test/org/apache/solr/cloud/ShardSplitTest.java @@ -204,7 +204,9 @@ public class ShardSplitTest extends BasicDistributedZkTest { } } } catch (Exception e) { - log.error("Exception while adding docs", e); + log.error("Exception while adding doc id = " + id, e); + // do not select this id for deletion ever + deleted.add(String.valueOf(id)); } } }