mirror of https://github.com/apache/lucene.git
SOLR-2705: Add extra test check suggested by Yury
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1156441 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
adab6ebc59
commit
9d3eb8755b
|
@ -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<Object> 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");
|
||||
|
||||
|
|
Loading…
Reference in New Issue