mirror of https://github.com/apache/lucene.git
SOLR-6228: Make sure that versions are checked after index and config replication is complete
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1608601 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
cec47f9baf
commit
6c0539dd7f
|
@ -556,9 +556,8 @@ public class TestReplicationHandler extends SolrTestCaseJ4 {
|
||||||
|
|
||||||
assertEquals(1, numFound( rQuery(1, "*:*", masterClient)));
|
assertEquals(1, numFound( rQuery(1, "*:*", masterClient)));
|
||||||
|
|
||||||
assertVersions(masterClient, slaveClient);
|
|
||||||
|
|
||||||
slaveQueryRsp = rQuery(1, "*:*", slaveClient);
|
slaveQueryRsp = rQuery(1, "*:*", slaveClient);
|
||||||
|
assertVersions(masterClient, slaveClient);
|
||||||
SolrDocument d = ((SolrDocumentList) slaveQueryRsp.get("response")).get(0);
|
SolrDocument d = ((SolrDocumentList) slaveQueryRsp.get("response")).get(0);
|
||||||
assertEquals("newname = 2000", (String) d.getFieldValue("newname"));
|
assertEquals("newname = 2000", (String) d.getFieldValue("newname"));
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue