diff --git a/documentdb_tests/compatibility/tests/core/operator/stages/lookup/test_lookup_array_fields.py b/documentdb_tests/compatibility/tests/core/operator/stages/lookup/test_lookup_array_fields.py index fc5f4d8ac..08825b4f8 100644 --- a/documentdb_tests/compatibility/tests/core/operator/stages/lookup/test_lookup_array_fields.py +++ b/documentdb_tests/compatibility/tests/core/operator/stages/lookup/test_lookup_array_fields.py @@ -150,6 +150,7 @@ ), LookupTestCase( "null_element_in_array_matches_null_and_missing_foreign", + ignore_order_in=["joined"], docs=[{"_id": 1, "lf": ["a", None]}], foreign_docs=[ {"_id": 10, "ff": "a"}, @@ -211,6 +212,7 @@ ), LookupTestCase( "large_array_all_elements_matched", + ignore_order_in=["joined"], docs=[{"_id": 1, "lf": list(range(500))}], foreign_docs=[{"_id": i, "ff": i} for i in range(500)], pipeline=[ @@ -420,4 +422,5 @@ def test_lookup_array_fields(collection, test_case: LookupTestCase): expected=test_case.expected, error_code=test_case.error_code, msg=test_case.msg, + ignore_order_in=test_case.ignore_order_in, ) diff --git a/documentdb_tests/compatibility/tests/core/operator/stages/lookup/test_lookup_equality_match.py b/documentdb_tests/compatibility/tests/core/operator/stages/lookup/test_lookup_equality_match.py index 71b93cf63..70b904d29 100644 --- a/documentdb_tests/compatibility/tests/core/operator/stages/lookup/test_lookup_equality_match.py +++ b/documentdb_tests/compatibility/tests/core/operator/stages/lookup/test_lookup_equality_match.py @@ -80,6 +80,7 @@ ), LookupTestCase( "negative_zero_matches_all_zeros", + ignore_order_in=["joined"], docs=[{"_id": 1, "lf": DOUBLE_NEGATIVE_ZERO}], foreign_docs=[ {"_id": 100, "ff": 0}, @@ -118,6 +119,7 @@ ), LookupTestCase( "nan_matches_nan_across_types", + ignore_order_in=["joined"], docs=[ {"_id": 1, "lf": FLOAT_NAN}, {"_id": 2, "lf": FLOAT_NEGATIVE_NAN}, @@ -164,6 +166,7 @@ ), LookupTestCase( "infinity_matches_infinity_across_types", + ignore_order_in=["joined"], docs=[ {"_id": 1, "lf": FLOAT_INFINITY}, {"_id": 2, "lf": FLOAT_NEGATIVE_INFINITY}, @@ -723,6 +726,7 @@ ), LookupTestCase( "array_matches_identical_array", + ignore_order_in=["joined"], docs=[ {"_id": 1, "lf": [1, 2, 3]}, {"_id": 2, "lf": [3, 2, 1]}, @@ -818,4 +822,5 @@ def test_lookup_equality_match(collection, test_case: LookupTestCase): expected=test_case.expected, error_code=test_case.error_code, msg=test_case.msg, + ignore_order_in=test_case.ignore_order_in, ) diff --git a/documentdb_tests/compatibility/tests/core/operator/stages/lookup/test_lookup_join_semantics.py b/documentdb_tests/compatibility/tests/core/operator/stages/lookup/test_lookup_join_semantics.py index cef7a6ead..fbebda6e4 100644 --- a/documentdb_tests/compatibility/tests/core/operator/stages/lookup/test_lookup_join_semantics.py +++ b/documentdb_tests/compatibility/tests/core/operator/stages/lookup/test_lookup_join_semantics.py @@ -58,6 +58,7 @@ ), LookupTestCase( "multiple_matches_in_insertion_order", + ignore_order_in=["joined"], docs=[{"_id": 1, "lf": "a"}], foreign_docs=[ {"_id": 12, "ff": "a"}, @@ -569,4 +570,5 @@ def test_lookup_join_semantics(collection, test_case: LookupTestCase): expected=test_case.expected, error_code=test_case.error_code, msg=test_case.msg, + ignore_order_in=test_case.ignore_order_in, ) diff --git a/documentdb_tests/compatibility/tests/core/operator/stages/lookup/test_lookup_self_join.py b/documentdb_tests/compatibility/tests/core/operator/stages/lookup/test_lookup_self_join.py index 4d01f4fd2..270f6893e 100644 --- a/documentdb_tests/compatibility/tests/core/operator/stages/lookup/test_lookup_self_join.py +++ b/documentdb_tests/compatibility/tests/core/operator/stages/lookup/test_lookup_self_join.py @@ -100,6 +100,7 @@ ), LookupTestCase( "self_join_null_missing_match", + ignore_order_in=["joined"], docs=[ {"_id": 1, "lf": None, "ff": "x"}, {"_id": 2, "ff": None}, @@ -206,4 +207,5 @@ def test_lookup_self_join(collection, test_case: LookupTestCase): result, expected=test_case.expected, msg=test_case.msg, + ignore_order_in=test_case.ignore_order_in, )