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)); } } }