Skip to content

Commit 6f04cf0

Browse files
committed
Adapt test to change in Neo4j driver's internals
See gh-44690
1 parent a35c04a commit 6f04cf0

File tree

1 file changed

+2
-2
lines changed
  • spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/neo4j

1 file changed

+2
-2
lines changed

spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/neo4j/Neo4jPropertiesTests.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2023 the original author or authors.
2+
* Copyright 2012-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -66,7 +66,7 @@ void driverSettingsHaveConsistentDefaults() {
6666
}
6767

6868
private static void assertDuration(Duration duration, long expectedValueInMillis) {
69-
if (expectedValueInMillis == org.neo4j.driver.internal.async.pool.PoolSettings.NOT_CONFIGURED) {
69+
if (expectedValueInMillis == -1) {
7070
assertThat(duration).isNull();
7171
}
7272
else {

0 commit comments

Comments
 (0)