Skip to content

Commit

Permalink
Add timeout when resetting database
Browse files Browse the repository at this point in the history
  • Loading branch information
fbiville committed Mar 15, 2024
1 parent ecddbff commit 4addb3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/java/org/neo4j/importer/v1/e2e/BeamIT.java
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ public void prepare() {
neo4jDriver.verifyConnectivity();
try (Session session = neo4jDriver.session(
SessionConfig.builder().withDatabase("system").build())) {
session.run("CREATE OR REPLACE DATABASE neo4j").consume();
session.run("CREATE OR REPLACE DATABASE neo4j WAIT 60 seconds").consume();
}
}

Expand Down

0 comments on commit 4addb3a

Please sign in to comment.