tests: add polling wait

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1449576 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Mark Robert Miller 2013-02-25 01:15:53 +00:00
parent 382e279c1b
commit 36d854be91
1 changed files with 1 additions and 0 deletions

View File

@ -565,6 +565,7 @@ public class TestReplicationHandler extends SolrTestCaseJ4 {
slaveClient.commit();
pullFromSlaveToMaster();
rQuery(3, "*:*", slaveClient);
//get docs from slave and check if number is equal to master
slaveQueryRsp = rQuery(nDocs, "*:*", slaveClient);