diff options
author | Nicholas Zolnierz <nicholas.zolnierz@mongodb.com> | 2022-11-30 17:10:14 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2022-11-30 17:47:42 +0000 |
commit | 45ab51e980fbd19aea4674cc0009e914001555e1 (patch) | |
tree | b2e9464d46000698487e7f76fb551a98bad7e72d /jstests/aggregation | |
parent | 70cb8b5a4c99802f6b5ee7b0c3439fc34742508c (diff) | |
download | mongo-45ab51e980fbd19aea4674cc0009e914001555e1.tar.gz |
SERVER-71572 Fix typo in window functions test over timeseries collection
Diffstat (limited to 'jstests/aggregation')
-rw-r--r-- | jstests/aggregation/sources/setWindowFields/window_functions_on_timeseries_coll.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/aggregation/sources/setWindowFields/window_functions_on_timeseries_coll.js b/jstests/aggregation/sources/setWindowFields/window_functions_on_timeseries_coll.js index 38a928c72d7..0f322c45139 100644 --- a/jstests/aggregation/sources/setWindowFields/window_functions_on_timeseries_coll.js +++ b/jstests/aggregation/sources/setWindowFields/window_functions_on_timeseries_coll.js @@ -118,7 +118,7 @@ function assertExplainBehaviorAndCorrectResults(pipeline, expectedOpts, expected assert.sameMembers(expectedOpts.inExcludeSpec.exclude, unpackBucket.exclude); } - assert(arrayEq(expectedResults, coll.aggregate(pipeline).toArray())); + assertArrayEq({expected: expectedResults, actual: coll.aggregate(pipeline).toArray()}); } assertExplainBehaviorAndCorrectResults( @@ -187,7 +187,7 @@ assertExplainBehaviorAndCorrectResults( }, { _id: 3, - time: ISODate("2021-01-01T12:05:00Z"), + time: ISODate("2021-01-01T01:05:00Z"), attributes: {sensor: "S2", field: "a"}, temperature: 60, language: "en", |