diff --git a/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/neo4j/Neo4jAutoConfigurationTests.java b/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/neo4j/Neo4jAutoConfigurationTests.java index 3ab281052e86..81cb723237c4 100644 --- a/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/neo4j/Neo4jAutoConfigurationTests.java +++ b/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/neo4j/Neo4jAutoConfigurationTests.java @@ -114,8 +114,7 @@ void connectionTimeout() { void maxTransactionRetryTime() { Neo4jProperties properties = new Neo4jProperties(); properties.setMaxTransactionRetryTime(Duration.ofSeconds(2)); - assertThat(mapDriverConfig(properties)).extracting("retrySettings") - .hasFieldOrPropertyWithValue("maxRetryTimeMs", 2000L); + assertThat(mapDriverConfig(properties).maxTransactionRetryTimeMillis()).isEqualTo(2000L); } @Test diff --git a/spring-boot-project/spring-boot-dependencies/build.gradle b/spring-boot-project/spring-boot-dependencies/build.gradle index 28773ede26b0..2a4643220ac3 100644 --- a/spring-boot-project/spring-boot-dependencies/build.gradle +++ b/spring-boot-project/spring-boot-dependencies/build.gradle @@ -1018,7 +1018,7 @@ bom { ] } } - library("Neo4j Java Driver", "5.2.0") { + library("Neo4j Java Driver", "5.4.0") { group("org.neo4j.driver") { modules = [ "neo4j-java-driver"