mirror of https://github.com/apache/lucene.git
tests: only do this check if there are actually different docs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1427606 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
87a6af1acf
commit
a5d5c905e0
|
@ -1024,14 +1024,18 @@ public abstract class AbstractFullDistribZkTestBase extends AbstractDistribZkTes
|
||||||
}
|
}
|
||||||
ids.append(")");
|
ids.append(")");
|
||||||
|
|
||||||
// get versions for those ids that don't match
|
if (ids.length() > 0) {
|
||||||
q = params("q",ids.toString(),"rows","100000", "fl","id,_version_", "sort","id asc",
|
// get versions for those ids that don't match
|
||||||
"tests","checkShardConsistency(vsControl)/getVers"); // add a tag to aid in debugging via logs
|
q = params("q", ids.toString(), "rows", "100000", "fl", "id,_version_",
|
||||||
|
"sort", "id asc", "tests",
|
||||||
|
"checkShardConsistency(vsControl)/getVers"); // add a tag to aid in
|
||||||
|
// debugging via logs
|
||||||
|
|
||||||
SolrDocumentList a = controlClient.query(q).getResults();
|
SolrDocumentList a = controlClient.query(q).getResults();
|
||||||
SolrDocumentList b = cloudClient.query(q).getResults();
|
SolrDocumentList b = cloudClient.query(q).getResults();
|
||||||
|
|
||||||
log.error("controlClient :" + a + "\n\tcloudClient :" + b);
|
log.error("controlClient :" + a + "\n\tcloudClient :" + b);
|
||||||
|
}
|
||||||
|
|
||||||
fail(msg);
|
fail(msg);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue