Skip to content

Commit 18e4566

Browse files
committed
javascript: Enable 'Temporary:DriverMaxConnectionPoolSize'
The `test_should_enforce_pool_size_per_cluster_member` should try to consume the result for getting the error since javascript driver postpone the error raise.
1 parent 925ce16 commit 18e4566

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/stub/routing/test_routing_v4x4.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2813,7 +2813,8 @@ def test_should_enforce_pool_size_per_cluster_member(self):
28132813
session2 = driver.session("w", database=self.adb)
28142814

28152815
with self.assertRaises(types.DriverError) as exc:
2816-
session2.begin_transaction()
2816+
tx = session2.begin_transaction()
2817+
list(tx.run("RETURN 1 as n"))
28172818

28182819
if get_driver_name() in ["java"]:
28192820
self.assertEqual(

0 commit comments

Comments
 (0)