[CXX-2671] Revert skipping snapshot examples on server 7.0 and newer Created: 10/Apr/23  Updated: 28/Oct/23  Resolved: 17/Apr/23

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

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

Quarter: FY24Q3

 Description   

Documentation examples for snapshot queries fail on latest (7.0+) servers with the following error:

wrong number of adoptable pets in Snapshot Query Example 1, expecting 2 got: 0

Cause of issue is currently unknown, but is suspected to be a breaking change by the server. Revert the 7.0+ skip condition once the cause is known and addressed/addressable.



 Comments   
Comment by Githook User [ 17/Apr/23 ]

Author:

{'name': 'Kyle Kloberdanz', 'email': 'kyle.kloberdanz@mongodb.com', 'username': 'kkloberdanz'}

Message: re-enable testing on DB version 7+ (#956)

CXX-2671

Fix was introduced in: #952
Branch: master
https://github.com/mongodb/mongo-cxx-driver/commit/56a0386b943f2df6f86d85b2ea2702ff99967b8c

Comment by Githook User [ 10/Apr/23 ]

Author:

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

Message: CXX-2656 Update tests for QEv2 compatibility (#953)

  • Move legacy client side encryption test files into legacy subdirectory
  • Sort *_TESTS_PATH variable export commands
  • CXX-2656 skip QE prose tests on server versions older than 7.0
  • Use Catch2 WARN instead of std::cerr
  • Improve error message on unexpected success on expectError
  • CXX-2656 Sync legacy client-side-encryption spec test files with 64deb283
  • CXX-2656 Bump minimium libmongoc version to 8aced03a
Generated at Wed Feb 07 22:06:39 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.