Skip to content

Commit f812ea4

Browse files
committed
Adjust test
1 parent 0ebca4b commit f812ea4

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

packages/neo4j-driver/test/internal/retry-logic-rx.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ describe('#unit-rx retrylogic', () => {
6565
verifyNoRetry(
6666
newError(
6767
'transaction terminated',
68-
'Neo.TransientError.Transaction.Terminated'
68+
'Neo.ClientError.Transaction.Terminated'
6969
)
7070
)
7171
})
@@ -74,7 +74,7 @@ describe('#unit-rx retrylogic', () => {
7474
verifyNoRetry(
7575
newError(
7676
'lock client stopped',
77-
'Neo.TransientError.Transaction.LockClientStopped'
77+
'Neo.ClientError.Transaction.LockClientStopped'
7878
)
7979
)
8080
})

packages/neo4j-driver/test/internal/transaction-executor.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ const { SERVICE_UNAVAILABLE, SESSION_EXPIRED } = err
3030
const TRANSIENT_ERROR_1 = 'Neo.TransientError.Transaction.DeadlockDetected'
3131
const TRANSIENT_ERROR_2 = 'Neo.TransientError.Network.CommunicationError'
3232
const UNKNOWN_ERROR = 'Neo.DatabaseError.General.UnknownError'
33-
const TX_TERMINATED_ERROR = 'Neo.TransientError.Transaction.Terminated'
33+
const TX_TERMINATED_ERROR = 'Neo.ClientError.Transaction.Terminated'
3434
const LOCKS_TERMINATED_ERROR =
35-
'Neo.TransientError.Transaction.LockClientStopped'
35+
'Neo.ClientError.Transaction.LockClientStopped'
3636
const OOM_ERROR = 'Neo.DatabaseError.General.OutOfMemoryError'
3737

3838
describe('#unit TransactionExecutor', () => {

0 commit comments

Comments
 (0)