[JAVA-4555] Test "to" field in change streams for rename events Created: 31/Mar/22  Updated: 28/Oct/23  Resolved: 18/Apr/22

Status: Closed
Project: Java Driver
Component/s: Change Streams, Test Coverage, Test Runner
Affects Version/s: None
Fix Version/s: 4.6.0

Type: Improvement Priority: Major - P3
Reporter: PM Bot Assignee: Jeffrey Yemin
Resolution: Fixed Votes: 0
Labels: spec-compliance
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Issue split
Upstream Changes Summary:

DRIVERS-1343:
Drivers that use a statically typed object forĀ ChangeStreamEventDocument should update it to include the "to" field and sync change stream tests to 372747fca128f449abbbb01b200dc9a2cabf522d.

The corresponding change stream tests also introduce a rename operation for collection objects. Test runners should add support for the collection rename operation to avoid possible "unsupported operation" errors (see: Executing an Operation) when running these tests.

Backwards Compatibility: Fully Compatible
Documentation Changes: Not Needed

 Description   

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



 Comments   
Comment by Githook User [ 18/Apr/22 ]

Author:

{'name': 'Jeff Yemin', 'email': 'jeff.yemin@mongodb.com', 'username': 'jyemin'}

Message: Update unified change stream tests

  • Represent all cursors the same in Entities
  • Handle any MongoServerException in ErrorMatcher
  • Support "rename" operation
  • Special case some change stream tests that can't pass using ChangeStreamDocument

JAVA-4470
JAVA-4555
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/c6a2585b6575aba0c5780fd786add1f74547f8dc

Generated at Thu Feb 08 09:02:23 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.