Skip to content

Commit 82a0007

Browse files
authored
Correct list of possible timeout error codes in bolt v3 tests. (#1254)
1 parent 4c6216c commit 82a0007

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/neo4j-driver/test/bolt-v3.test.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,8 @@ describe('#integration Bolt V3 API', () => {
9292
if (
9393
e.code !== 'Neo.ClientError.Transaction.TransactionTimedOut' &&
9494
e.code !== 'Neo.TransientError.Transaction.LockClientStopped' &&
95-
e.code !== 'Neo.ClientError.Transaction.LockClientStopped'
95+
e.code !== 'Neo.ClientError.Transaction.LockClientStopped' &&
96+
e.code !== 'Neo.ClientError.Transaction.TransactionTimedOutClientConfiguration'
9697
) {
9798
fail('Expected transaction timeout error but got: ' + e.code)
9899
}

0 commit comments

Comments
 (0)