[CXX-2547] Spec test "change stream resumes after StaleShardVersion" fails on server version > 6.0 Created: 15/Jul/22  Updated: 28/Oct/23  Resolved: 19/Aug/22

Status: Closed
Project: C++ Driver
Component/s: Change Streams
Affects Version/s: None
Fix Version/s: 3.7.0

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

Issue Links:
Depends
depends on CXX-2239 Convert change stream spec tests to u... Closed
Issue split
split from DRIVERS-2387 Spec test "change stream resumes afte... Closed
Upstream Changes Summary:

DRIVERS-2387:
Drivers should sync their change-streams-resume-errorLabels spec test file to this commit: https://github.com/mongodb/specifications/commit/8d897ad01f8c600ddaef139740d5b68fd2950c0e.

We now skip the StaleShardVersion resumability test on 6.1+, as the error has been removed by the server and is therefore no longer marked as resumable.


 Description   

This ticket was split from DRIVERS-2387, please see that ticket for a detailed description.



 Comments   
Comment by Ezra Chung [ 19/Aug/22 ]

PR: https://github.com/mongodb/mongo-cxx-driver/pull/885

Commit: https://github.com/mongodb/mongo-cxx-driver/commit/51e570163744f36f28a106967577369b65be3ea4

 

Comment by Kevin Albertson [ 25/Jul/22 ]

To sync the test, we may need to support unified tests for change streams first: CXX-2239.

As a workaround, consider applying the same change from DRIVERS-2387 to the same test in the legacy format.

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