[CDRIVER-4806] Require 4.3.1+ server version when using failCommand errorLabels option Created: 03/Jan/24  Updated: 12/Jan/24  Resolved: 12/Jan/24

Status: Closed
Project: C Driver
Component/s: Unified Test Runner
Affects Version/s: None
Fix Version/s: 1.26.0

Type: Improvement Priority: Unknown
Reporter: PM Bot Assignee: Jeremy Mikola
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Issue split
split from DRIVERS-2802 Require 4.3.1+ server version when us... Implementing
Related
related to CDRIVER-2975 Resync transaction spec tests for bul... Closed
related to CDRIVER-4554 Add a test that drivers emit a Comman... Backlog
related to CDRIVER-4811 Failing errorContains assertion in ca... Backlog
is related to PHPLIB-1330 Require 4.3.1+ server version when us... Closed
Upstream Changes Summary:

DRIVERS-2802:
Sync the following spec tests with mongodb/specifications@8de8180:

  • Client-side Operations Timeout
  • Command Logging and Monitoring
  • Retryable Writes (legacy and unified)
  • Transactions (legacy)
  • Transactions Convenient API
  • Unified Test Format (valid-pass)

Update retryable writes prose test #3 to account for moving errorLabels to the top-level of the fail point configuration. Additionally, confirm that server version requirements for all modified prose tests are accurate.


 Description   

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



 Comments   
Comment by Githook User [ 12/Jan/24 ]

Author:

{'name': 'Jeremy Mikola', 'email': 'jmikola@gmail.com', 'username': 'jmikola'}

Message: CDRIVER-4806 sync insertOne-errorLabels retryable writes legacy spec tests (#1513)

Synced with mongodb/specifications@8de81802790c1deedbde438c62ceca4e5d2a6d63
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/ee146c1246d735975da200e59b6c97353bde3880

Comment by Jeremy Mikola [ 12/Jan/24 ]

https://github.com/mongodb/mongo-c-driver/pull/1513

Comment by Githook User [ 10/Jan/24 ]

Author:

{'name': 'Jeremy Mikola', 'email': 'jmikola@gmail.com', 'username': 'jmikola'}

Message: CDRIVER-4806 sync tests for failCommand errorLabels reqs (#1508)

Synced with mongodb/specifications@5fc23f40f79d18f0693e7159eba81f0e7b276715

Updates retryable writes prose test 3 to relocate the errorLabels field when configuring a fail point.

Note: with_transaction/callback-retry.json is unrelated but was missed in CDRIVER-2975. This test currently fails and has been skipped (see: CDRIVER-4811).
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/4ef84ecdb7f1ce86b3d96b34ef8015d9c5f0f3f1

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