From b94911b260d8411cde755e2aa2c18694b3f9a825 Mon Sep 17 00:00:00 2001 From: markrmiller Date: Sat, 8 Dec 2018 11:40:00 -0600 Subject: [PATCH] SOLR-12801: don't do single index check here on windows. --- .../org/apache/solr/handler/TestReplicationHandler.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/solr/core/src/test/org/apache/solr/handler/TestReplicationHandler.java b/solr/core/src/test/org/apache/solr/handler/TestReplicationHandler.java index e3a93773a25..f1a9a86d117 100644 --- a/solr/core/src/test/org/apache/solr/handler/TestReplicationHandler.java +++ b/solr/core/src/test/org/apache/solr/handler/TestReplicationHandler.java @@ -42,6 +42,7 @@ import java.util.concurrent.TimeUnit; import org.apache.lucene.store.Directory; import org.apache.lucene.store.FSDirectory; +import org.apache.lucene.util.Constants; import org.apache.lucene.util.LuceneTestCase; import org.apache.lucene.util.LuceneTestCase.Slow; import org.apache.lucene.util.TestUtil; @@ -899,7 +900,10 @@ public class TestReplicationHandler extends SolrTestCaseJ4 { assertVersions(masterClient, slaveClient); checkForSingleIndex(masterJetty); - checkForSingleIndex(slaveJetty); + + if (!Constants.WINDOWS) { + checkForSingleIndex(slaveJetty); + } if (random().nextBoolean()) { // move the slave ahead