Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit cba0379

Browse files
Use different driver method in testing to ensure driver is usable.
The `verifyConnectivity` method only ensures an exception if we are using the bolt scheme. Using the neo4j scheme will run into an uncertain state and report the driver as usable. Signed-off-by: Gerrit Meier <meistermeier@gmail.com>
1 parent 62d0dc4 commit cba0379

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/test/java/org/springframework/data/neo4j/test/Neo4jExtension.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ private static boolean isUsable(Driver driver) {
240240
return false;
241241
}
242242
try {
243-
driver.verifyConnectivity();
243+
driver.isEncrypted();
244244
return true;
245245
}
246246
catch (Exception ex) {

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /