[GODRIVER-811] Modify change stream test to only run if WireVersion < 8 Created: 06/Feb/19 Updated: 28/Oct/23 Resolved: 08/Feb/19 |
|
| Status: | Closed |
| Project: | Go Driver |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 1.0.0-rc1 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Divjot Arora (Inactive) | Assignee: | Divjot Arora (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
The TestReplaceRoot change stream test fails on latest server versions as per https://jira.mongodb.org/browse/SPEC-1211. We can either change the assertion to expect a general error rather than ErrMissingResumeToken specifically, but this means we will be making a weaker assertion for wire versions 7 and below. Seeing as the server will now error if _id is projected out, it might be better to only run the test for valid wire versions and leave the check as is. |
| Comments |
| Comment by Githook User [ 08/Feb/19 ] |
|
Author: {'name': 'Divjot Arora', 'email': 'divjot.arora@10gen.com', 'username': 'divjotarora'}Message: Change error assertion for TestReplaceRoot change stream test. Change-Id: I962dc2917394cbe364f044c218fe1ab0d08859fb |
| Comment by Divjot Arora (Inactive) [ 06/Feb/19 ] |
|
code review: https://review.gerrithub.io/c/mongodb/mongo-go-driver/+/443636 |