[SERVER-31904] Improvements to core/push2.js jstest Created: 10/Nov/17  Updated: 06/Dec/22  Resolved: 21/Dec/17

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: 3.6.0-rc3
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: James Wahlin Assignee: Backlog - Query Team (Inactive)
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
Assigned Teams:
Query
Participants:
Linked BF Score: 0

 Description   

We should make the following improvements to this test:

  1. Add assertions that the update performed actually matched/updated a document.
  2. Remove the print statement that executes on every loop. Instead, include the number of iterations in assertion messages. Also include the update result object in assertions.
  3. Reduce the number of loops - we should hit the 16MB BSON size limit in 23 iterations, well under the 100 currently configured.
  4. Modernize


 Comments   
Comment by Ian Whalen (Inactive) [ 21/Dec/17 ]

charlie.swanson if it seems worth it, could you file a ticket on TIG with a generalized version of this cleanup?

Generated at Thu Feb 08 04:28:33 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.