-
Type: Bug
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
ALL
-
-
QO 2022-12-26
jstests/aggregation/sources/densify/decimal.js
SERVER-68710 is addressing an issue with arrayEq (and related helpers in jstests/aggregation/extras/utils.js), where comparison of Object subtypes (NumberLong, ObjectId, ...) always evaluated to true.
And this test fails on patch runs:
Error:
[js_test:decimal] Fixture status: ... [js_test:decimal] 2022-11-22T14:17:52.741Z assert failed : Expected: [js_test:decimal] [ [js_test:decimal] { [js_test:decimal] "val" : 0 [js_test:decimal] }, [js_test:decimal] { [js_test:decimal] "val" : NumberDecimal("0.124356873589445") [js_test:decimal] }, [js_test:decimal] { [js_test:decimal] "val" : NumberDecimal("NaN") [js_test:decimal] }, [js_test:decimal] { [js_test:decimal] "val" : NumberDecimal("NaN") [js_test:decimal] } [js_test:decimal] ] [js_test:decimal] Got: [js_test:decimal] [ [js_test:decimal] { [js_test:decimal] "val" : 0 [js_test:decimal] }, [js_test:decimal] { [js_test:decimal] "val" : NumberDecimal("0.124356873589445") [js_test:decimal] }, [js_test:decimal] { [js_test:decimal] "val" : NumberDecimal("0.248713747178890") [js_test:decimal] }, [js_test:decimal] { [js_test:decimal] "val" : NumberDecimal("0.373070620768335") [js_test:decimal] } [js_test:decimal] ] ...
- duplicates
-
SERVER-71575 Verify jstests/aggregation/sources/densify/partitions.js
- Closed
- is depended on by
-
SERVER-68710 arrayEq/anyEq behave incorrectly with mongo shell types
- Closed