Github user dsmiley commented on a diff in the pull request:
https://github.com/apache/lucene-solr/pull/385#discussion_r191780149
--- Diff: solr/test-framework/src/java/org/apache/solr/SolrTestCaseJ4.java
---
@@ -2181,16 +2182,38 @@ public boolean compareSolrInputDocument(Object
expected, Object actual) {
Iterator<String> iter1 = sdoc1.getFieldNames().iterator();
Iterator<String> iter2 = sdoc2.getFieldNames().iterator();
- if(iter1.hasNext()) {
+ while (iter1.hasNext()) {
--- End diff --
ouch; good catch!
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]