[JAVA-4568] Use $$unsetOrMatches for upsert and multi in update command expectations Created: 08/Apr/22  Updated: 28/Oct/23  Resolved: 18/Apr/22

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

Type: Improvement Priority: Minor - P4
Reporter: PM Bot Assignee: Jeffrey Yemin
Resolution: Fixed Votes: 0
Labels: QP-priority
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Issue split
split from DRIVERS-2270 Use $$unsetOrMatches for upsert and m... Implementing
Upstream Changes Summary:

DRIVERS-2270:
Sync unified CRUD spec tests with mongodb/specifications@51ca03b.

Backwards Compatibility: Fully Compatible
Documentation Changes: Not Needed

 Description   

This ticket was split from DRIVERS-2270, 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: Use $$unsetOrMatches for upsert and multi in spec tests (#922)

  • Modifications made in a previous commit of bulkWrite-comment.json
    had to be preserved, so this is not an exact copy of the spec tests
  • Modifications to require minServerVersion of 3.6 also had to be preserved,
    since Java driver still supports older server versions

JAVA-4568
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/7fb5247164059f65dad39e3d8b616ba03ea342c4

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