[DRIVERS-2047] Stop using count in spec test where it's not necessary Created: 05/Apr/19  Updated: 08/Mar/23

Status: Backlog
Project: Drivers
Component/s: Command Logging and Monitoring
Fix Version/s: None

Type: Spec Change Priority: Minor - P4
Reporter: Jeffrey Yemin Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
is duplicated by DRIVERS-2053 Command Monitoring spec tests should ... Closed
Related
is related to NODE-3369 Unskip count spec tests Blocked
Driver Changes: Needed

 Description   

The command.yml test spec for command monitoring specification happens to use the count command as the example, making it difficult for drivers that have removed the count method to implement it.

Replace count with something like find or countDocuments so that it's more portable across drivers as major releases are done in which count no longer exists



 Comments   
Comment by Ian Whalen (Inactive) [ 19/Jun/19 ]

jeff do you still need to own this? or should this go back to the backlog?

Generated at Thu Feb 08 08:24:35 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.