[CDRIVER-3973] Convert change stream spec tests to unified test format Created: 03/May/21  Updated: 31/May/22  Resolved: 31/May/22

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

Type: Improvement Priority: Major - P3
Reporter: Backlog - Core Eng Program Management Team Assignee: Colby Pike
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Issue split
Upstream Changes Summary:

DRIVERS-1713:
Drivers should sync "valid-pass" unified spec tests with ff0c705.

Drivers should sync change stream tests with dbfbc0f. This change also includes a schema update to introduce an ignoreExtraEvents field to expectedEventsForClient.

Note: drivers that have yet to implement DRIVERS-2231 or DRIVERS-1343 should do so before this ticket; otherwise, commandStartedEvent assertions may fail due to an unexpected fullDocument field appearing in observed events and tests may fail with "unsupported operation" errors.


 Description   

DRIVERS Ticket Description
Script Target - If you can read this text, the script has failed


 Comments   
Comment by Githook User [ 27/May/22 ]

Author:

{'name': 'vector-of-bool', 'email': 'vectorofbool@gmail.com', 'username': 'vector-of-bool'}

Message: CDRIVER-3973 + CDRIVER-4366 : Update and use change-streams tests (#1015)

CDRIVER-3973 + CDRIVER-4366 : Update and use change-streams tests (#1015)

This changeset addresses both CDRIVER-3973 and CDRIVER-4366. It pulls the updated tests for 4366 while also finishing support for the test cases required to complete 3973.
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/9d327e165759ff12873219db3bc4ff67955e9d3b

Comment by Githook User [ 25/May/22 ]

Author:

{'name': 'vector-of-bool', 'email': 'vectorofbool@gmail.com', 'username': 'vector-of-bool'}

Message: CDRIVER-3973: Support the ignoreExtraEvents property (#1012)

This doesn't fully complete the tasks of CDRIVER-3973, but finishes a
single isolated subtask thereof: Supprt for the `ignoreExtraEvents`
property on `expectedEventsForClient`, which is a prereq for enabling
the new changestreams tests.

In this case, if `ignoreExtraEvents` is specified as `true`, we won't
generate an error if the "actual events" contains more events than
"expected events." Each expected event is still searched for within
the "actual events" list, and anything additional is ignored.
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/1c1eb7116c911d085c2d29d01cb7f84809190caf

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