[SERVER-57704] clean up array4.js Created: 15/Jun/21  Updated: 29/Oct/23  Resolved: 15/Jun/21

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 5.1.0-rc0

Type: Improvement Priority: Major - P3
Reporter: Benety Goh Assignee: Benety Goh
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Execution Team 2021-06-28
Participants:

 Description   

This test could be updated both style-wise and with better assertion messages.

The same collection is reused across test cases, which makes validation output harder to parse.

Additionally, we could run a single query for each test case to check both collection count (while avoid fast count inconsistencies due to step-downs and unclean shutdowns) and the document returned.



 Comments   
Comment by Vivian Ge (Inactive) [ 06/Oct/21 ]

Updating the fixversion since branching activities occurred yesterday. This ticket will be in rc0 when it’s been triggered. For more active release information, please keep an eye on #server-release. Thank you!

Comment by Githook User [ 16/Jun/21 ]

Author:

{'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}

Message: SERVER-57704 clean up array4.js to avoid fast count and to use unique collection names across test cases.
Branch: SERVER-34632
https://github.com/mongodb/mongo/commit/b3f9a51989261ed7f52bc5460bcb1a0dbdd62b0c

Comment by Githook User [ 15/Jun/21 ]

Author:

{'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}

Message: SERVER-57704 clean up array4.js to avoid fast count and to use unique collection names across test cases.
Branch: master
https://github.com/mongodb/mongo/commit/b3f9a51989261ed7f52bc5460bcb1a0dbdd62b0c

Generated at Thu Feb 08 05:42:34 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.