nickva commented on code in PR #5507:
URL: https://github.com/apache/couchdb/pull/5507#discussion_r2051872904


##########
src/mango/src/mango_cursor.erl:
##########
@@ -1113,6 +1113,12 @@ extract_selector_hints_test_() ->
         ]
     }.
 
+expect_set_from_list_ordered(L) ->
+    case erlang:system_info(otp_release) of
+        N when N >= "28" -> lists:sort(L);
+        _ -> L
+    end.
+

Review Comment:
   Instead of hard-coding OTP 28 checks in the test, the test should be 
improved to check that either the sets match or the the sorted lists of 
expected vs actual `unindexable_fields` match.



-- 
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]

Reply via email to