[CDRIVER-4506] /Samples failure due to count command in Stable API tests Created: 19/Oct/22  Updated: 28/Oct/23  Resolved: 19/Oct/22

Status: Closed
Project: C Driver
Component/s: None
Affects Version/s: None
Fix Version/s: 1.24.0

Type: Bug Priority: Unknown
Reporter: Ezra Chung Assignee: Ezra Chung
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to CDRIVER-4093 Stable API Strict Migration Example f... Closed
is related to CDRIVER-4309 Use the count command instead of coll... Closed

 Description   

CDRIVER-4093 introduced Versioned API Examples that are tested under /Samples in test-mongoc-sample-commands.c. Versioned API Example 6 demonstrates a failure triggered by the server due to apiStrict::true constraint violation using the count command. However, CDRIVER-4309 updated the Versioned API to include the count cound command, meaning the error is no longer triggered given MongoDB Server version 5.0.9+, 5.3.2+, and 6.0.0+.



 Comments   
Comment by Githook User [ 19/Oct/22 ]

Author:

{'name': 'Ezra Chung', 'email': '88335979+eramongodb@users.noreply.github.com', 'username': 'eramongodb'}

Message: CDRIVER-4506 Conditionally skip Versioned API Example 6 (#1127)
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/5486d031e89c58f9b0c3cf6f978f0a21c83306ac

Generated at Wed Feb 07 21:21:07 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.