From 9fb70774028b6ca77898f9834d28a4089e5b669c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Nicoll?= Date: Wed, 13 Nov 2024 09:16:26 +0900 Subject: [PATCH] Upgrade to Neo4j Java Driver 5.26.2 Closes gh-43132 --- .../boot/autoconfigure/neo4j/Neo4jPropertiesTests.java | 4 ++-- spring-boot-project/spring-boot-dependencies/build.gradle | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/neo4j/Neo4jPropertiesTests.java b/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/neo4j/Neo4jPropertiesTests.java index 432f3637ca..2e1f523275 100644 --- a/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/neo4j/Neo4jPropertiesTests.java +++ b/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/neo4j/Neo4jPropertiesTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2023 the original author or authors. + * Copyright 2012-2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -66,7 +66,7 @@ class Neo4jPropertiesTests { } private static void assertDuration(Duration duration, long expectedValueInMillis) { - if (expectedValueInMillis == org.neo4j.driver.internal.async.pool.PoolSettings.NOT_CONFIGURED) { + if (expectedValueInMillis == -1) { assertThat(duration).isNull(); } else { diff --git a/spring-boot-project/spring-boot-dependencies/build.gradle b/spring-boot-project/spring-boot-dependencies/build.gradle index 5588315136..9389040ca8 100644 --- a/spring-boot-project/spring-boot-dependencies/build.gradle +++ b/spring-boot-project/spring-boot-dependencies/build.gradle @@ -1509,7 +1509,7 @@ bom { ] } } - library("Neo4j Java Driver", "5.26.0") { + library("Neo4j Java Driver", "5.26.2") { alignWith { version { from "org.springframework.data:spring-data-neo4j"