[CXX-1976] Add RetryableWriteError error labels to retryable transaction tests Created: 02/Apr/20  Updated: 28/Oct/23  Resolved: 01/Jun/20

Status: Closed
Project: C++ Driver
Component/s: Testing
Affects Version/s: None
Fix Version/s: 3.6.0-rc0, 3.6.0

Type: Improvement Priority: Major - P3
Reporter: Backlog - Core Eng Program Management Team Assignee: Clyde Bazile III (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by DRIVERS-826 Add RetryableWriteError error labels ... Implementing
Epic Link: CXX 4.4 Support

 Description   

Description of Drivers Ticket:

Mongos currently doesn't support filling in errorLabels on a failCommand fail point, this adds them explicitly to the retryable transaction tests.
See DRIVERS-826 for updated details.



 Comments   
Comment by Githook User [ 15/Aug/23 ]

Author:

{'name': 'Ezra Chung', 'email': '88335979+eramongodb@users.noreply.github.com', 'username': 'eramongodb'}

Message: CXX-1848 Add sharded cluster test coverage to EVG config (#1007)

  • Move legacy transaction spec tests into subdirectory
  • Sync legacy transaction spec tests with 56454749 (CXX-2406)
  • Sync legacy transactions convenient API spec tests with e9280056 (CXX-1976)
  • Remove references to obsolete "sharded-replicaset" topology
  • Fix inconsistent behavior of index_view::create_*() on sharded clusters
  • The failCommand operation on mongos requires 4.1+
  • Multi-document transactions require 4.2+
  • Fix legacy test runner outcome checks missing readPreference=primary
  • Fix flaky tailable await cursors tests due to extreme maxAwaitTimeMS
  • Remove unused configureFailPoint operation in legacy test runner
  • Ensure configureFailPoint events are ignored
  • Improve apm_checker::print_all() output and const-correctness
  • Capture APM events in result assertion failures
  • Use Catch2 substring matcher instead of index comparison
  • Fix operation name match for assertSessionUnpinned
  • Update session pin assertion operations
  • Do not assume session object name when not session0
  • Add transactions mongos pinning prose tests
  • Improve failure messages for APM event checks in legacy test runner
  • Add Catch2 sections separating legacy transactions and convenient API tests
  • Handle client errors reported as logic_error in legacy test runner
  • Skip legacy transactions test requiring explicit readPreference with runCommand
  • Update legacy transactions test runner to conform to latest spec
  • Implement assertSessionTransactionState in legacy test runner
  • Implement targetedFailPoint in legacy test runner
  • Fix unified test runner outcome checks missing readPreference=primary and readConcern=local
  • Add transactions spec tests to unified test runner
  • Fix test client URI hostname specification in unified test runner
  • Implement targetedFailPoint in unified test runner
  • Implement session pin assertions in unified test runner
  • Add sharded cluster tasks to EVG config
  • Use scope guards to disable fail points in unified test runner
  • Remove obsolete version checks in examples (CXX-1547)
  • Fix server version comparisons
  • Workaround possibly unexpected multi and upsert fields
  • Fix match actions when comparing APM events in legacy test runner
Comment by Githook User [ 01/Jun/20 ]

Author:

{'name': 'Clyde Bazile', 'email': '34226620+bazile-clyde@users.noreply.github.com', 'username': 'bazile-clyde'}

Message: CXX-1976 Add RetryableWriteError error labels to retryable transaction tests (#655)
Branch: master
https://github.com/mongodb/mongo-cxx-driver/commit/a8fe14a8331276e503db09091563478798896b99

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