File tree Expand file tree Collapse file tree 1 file changed +20
-5
lines changed
spec/spec_tests/data/transactions_unified Expand file tree Collapse file tree 1 file changed +20
-5
lines changed Original file line number Diff line number Diff line change @@ -70,17 +70,22 @@ tests:
7070 object : testRunner
7171 arguments :
7272 session : *session0
73-
74- - description : unpin on successful abort
75- operations :
73+ # Cleanup the potentionally open server transaction by starting and
74+ # aborting a new transaction on the same session.
7675 - *startTransaction
7776 - *insertOne
7877 - &abortTransaction
7978 name : abortTransaction
8079 object : *session0
80+
81+ - description : unpin on successful abort
82+ operations :
83+ - *startTransaction
84+ - *insertOne
85+ - *abortTransaction
8186 - *assertNoPinnedServer
8287
83- - description : unpin after TransientTransactionError error on abort
88+ - description : unpin after non-transient error on abort
8489 runOnRequirements :
8590 # serverless proxy doesn't append error labels to errors in transactions
8691 # caused by failpoints (CLOUDP-88216)
@@ -100,8 +105,13 @@ tests:
100105 errorCode : *lockTimeoutErrorCode
101106 - *abortTransaction
102107 - *assertNoPinnedServer
108+ # Cleanup the potentionally open server transaction by starting and
109+ # aborting a new transaction on the same session.
110+ - *startTransaction
111+ - *insertOne
112+ - *abortTransaction
103113
104- - description : unpin after non-transient error on abort
114+ - description : unpin after TransientTransactionError error on abort
105115 operations :
106116 - *startTransaction
107117 - *insertOne
@@ -117,6 +127,11 @@ tests:
117127 errorCode : 91 # ShutdownInProgress
118128 - *abortTransaction
119129 - *assertNoPinnedServer
130+ # Cleanup the potentionally open server transaction by starting and
131+ # aborting a new transaction on the same session.
132+ - *startTransaction
133+ - *insertOne
134+ - *abortTransaction
120135
121136 - description : unpin when a new transaction is started
122137 operations :
You can’t perform that action at this time.
0 commit comments