renatoh commented on code in PR #3163:
URL: https://github.com/apache/solr/pull/3163#discussion_r1969287910


##########
solr/solrj/src/java/org/apache/solr/common/util/Utils.java:
##########
@@ -290,7 +290,7 @@ public static Object fromJSON(byte[] utf8) {
   }
 
   public static Object fromJSON(byte[] utf8, int offset, int length) {
-    return fromJSON(utf8, offset, length, STANDARDOBJBUILDER);
+    return fromJSON(utf8, offset, length, SIMPLEORDEREDMAPOBJBUILDER);

Review Comment:
   I see, now the test 
ClusterStateProviderTest#testClusterStateProviderEmptySolrVersion is passing. 
So the issue was not that one of the DocCollection had a SOM and the other had 
a LinkedHashMap, the issue was that they were not equal despite of having the 
same entries. Thanks makes sense:)



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to