Skip to content

Commit 476b708

Browse files
committed
Upgrade to Hikaricp 2.7.8
Closes gh-12252
1 parent 410555a commit 476b708

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

spring-boot-project/spring-boot-actuator-autoconfigure/src/test/java/org/springframework/boot/actuate/autoconfigure/metrics/jdbc/DataSourcePoolMetricsAutoConfigurationTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,13 +114,13 @@ public void autoConfiguredHikariDataSourceIsInstrumentedWhenUsingDataSourceIniti
114114
}
115115

116116
@Test
117-
public void failureToInstrumentHikariDataSourceIsTolerated() {
117+
public void hikariCanBeInstrumentedAfterThePoolHasBeenSealed() {
118118
this.contextRunner.withUserConfiguration(HikariSealingConfiguration.class)
119119
.run((context) -> {
120120
assertThat(context).hasNotFailed();
121121
context.getBean(DataSource.class).getConnection();
122122
MeterRegistry registry = context.getBean(MeterRegistry.class);
123-
assertThat(registry.find("hikaricp.connections").meter()).isNull();
123+
assertThat(registry.find("hikaricp.connections").meter()).isNotNull();
124124
});
125125
}
126126

spring-boot-project/spring-boot-dependencies/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
<hazelcast-hibernate5.version>1.2.3</hazelcast-hibernate5.version>
6262
<hibernate.version>5.2.13.Final</hibernate.version>
6363
<hibernate-validator.version>6.0.7.Final</hibernate-validator.version>
64-
<hikaricp.version>2.7.7</hikaricp.version>
64+
<hikaricp.version>2.7.8</hikaricp.version>
6565
<hsqldb.version>2.4.0</hsqldb.version>
6666
<htmlunit.version>2.29</htmlunit.version>
6767
<httpasyncclient.version>4.1.3</httpasyncclient.version>

0 commit comments

Comments
 (0)