-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
For the assertSessionTransactionState operation in transaction spec tests the session's internal state must be exposed, which is not currently exposed. Instead, the MongoDB\Driver\Session::isInTransaction method exposes a boolean to indicate whether a session is currently in progress (as denoted by the in_progress and starting states. To cover all cases of the test operation, it may be necessary to expose the internal transaction state to the outside world.
Note that this requires upstream changes in libmongoc as the internal state is not exposed there either.
- depends on
-
CDRIVER-3364 Expose transaction state for session
- Closed
- is depended on by
-
PHPLIB-502 Specify effect of client-side errors on in-progress transactions
- Closed