Commit 476b7087 authored by Andy Wilkinson's avatar Andy Wilkinson

Upgrade to Hikaricp 2.7.8

Closes gh-12252
parent 410555a1
...@@ -114,13 +114,13 @@ public class DataSourcePoolMetricsAutoConfigurationTests { ...@@ -114,13 +114,13 @@ public class DataSourcePoolMetricsAutoConfigurationTests {
} }
@Test @Test
public void failureToInstrumentHikariDataSourceIsTolerated() { public void hikariCanBeInstrumentedAfterThePoolHasBeenSealed() {
this.contextRunner.withUserConfiguration(HikariSealingConfiguration.class) this.contextRunner.withUserConfiguration(HikariSealingConfiguration.class)
.run((context) -> { .run((context) -> {
assertThat(context).hasNotFailed(); assertThat(context).hasNotFailed();
context.getBean(DataSource.class).getConnection(); context.getBean(DataSource.class).getConnection();
MeterRegistry registry = context.getBean(MeterRegistry.class); MeterRegistry registry = context.getBean(MeterRegistry.class);
assertThat(registry.find("hikaricp.connections").meter()).isNull(); assertThat(registry.find("hikaricp.connections").meter()).isNotNull();
}); });
} }
......
...@@ -61,7 +61,7 @@ ...@@ -61,7 +61,7 @@
<hazelcast-hibernate5.version>1.2.3</hazelcast-hibernate5.version> <hazelcast-hibernate5.version>1.2.3</hazelcast-hibernate5.version>
<hibernate.version>5.2.13.Final</hibernate.version> <hibernate.version>5.2.13.Final</hibernate.version>
<hibernate-validator.version>6.0.7.Final</hibernate-validator.version> <hibernate-validator.version>6.0.7.Final</hibernate-validator.version>
<hikaricp.version>2.7.7</hikaricp.version> <hikaricp.version>2.7.8</hikaricp.version>
<hsqldb.version>2.4.0</hsqldb.version> <hsqldb.version>2.4.0</hsqldb.version>
<htmlunit.version>2.29</htmlunit.version> <htmlunit.version>2.29</htmlunit.version>
<httpasyncclient.version>4.1.3</httpasyncclient.version> <httpasyncclient.version>4.1.3</httpasyncclient.version>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment