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 926729da1c1..71095b17560 100644 --- a/solr/core/src/test/org/apache/solr/handler/TestReplicationHandler.java +++ b/solr/core/src/test/org/apache/solr/handler/TestReplicationHandler.java @@ -622,8 +622,14 @@ public class TestReplicationHandler extends SolrTestCaseJ4 { String cmp = TestDistributedSearch.compare(masterQueryResult, slaveQueryResult, 0, null); assertEquals(null, cmp); + Object version = getIndexVersion(masterClient).get("indexversion"); + NamedList commits = getCommits(masterClient); + reloadCore(masterClient, "collection1"); + assertEquals(version, getIndexVersion(masterClient).get("indexversion")); + assertEquals(commits, getCommits(masterClient)); + index(masterClient, "id", 110, "name", "name = 1"); index(masterClient, "id", 120, "name", "name = 2");