[CSHARP-2587] Convenient API for transactions tests may be suppressing exceptions Created: 16/Apr/19  Updated: 27/Oct/23  Resolved: 05/Jun/19

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

Type: Improvement Priority: Major - P3
Reporter: Vincent Kam (Inactive) Assignee: Unassigned
Resolution: Works as Designed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to CSHARP-2601 Fix consistently failing convenient a... Closed

 Description   

Recently, this test for "Convenient API for transactions" has been failing on latest.
However, the test is failing when asserting against the events captured whereas the expectation is that the test should have failed earlier due to a thrown exception. We should investigate why this is so.



 Comments   
Comment by Vincent Kam (Inactive) [ 05/Jun/19 ]

Closing this as "works as designed" after rstam's investigation into CSHARP-2626.  To paraphrase his findings: Transient errors may result in the transaction being retried. Because the exception is retryable, no exception is thrown, but the APM stage of the test runner will see the unexpected `abortTransaction`. In other words, the Convenient API for transactions test runner is working as expected.

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