Skip to content

Commit 442c0dd

Browse files
committed
Shorter bookmark ready timeout for test Neo4j
Add a configuration option to the neo4j.conf file to speed-up some tests. New value is 5 seconds instead of default 30 seconds.
1 parent 26a279c commit 442c0dd

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

test/internal/shared-neo4j.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,10 @@ const additionalConfig = {
105105
'dbms.connectors.default_listen_address': '::',
106106

107107
// HTTP server should keep listening on default address and create a self-signed certificate with host 'localhost'
108-
'dbms.connector.http.listen_address': 'localhost:7474'
108+
'dbms.connector.http.listen_address': 'localhost:7474',
109+
110+
// shorten the default time to wait for the bookmark from 30 to 5 seconds
111+
'dbms.transaction.bookmark_ready_timeout': '5s'
109112
};
110113

111114
const neoCtrlVersionParam = '-e';

0 commit comments

Comments
 (0)