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


##########
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:
   I gave it a try here https://github.com/apache/couchdb/pull/5510. It's a 
general improvement regardless of OTP version that just make us use all new 
sets and sorts the results to they are deterministic, otherwise tests might 
fail randomly again in the future



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