Skip to content

Commit 6ee0024

Browse files
committed
Merge branch '2.7.x' into 3.0.x
Closes gh-36737
2 parents de632dd + 747dbc3 commit 6ee0024

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

spring-boot-project/spring-boot-actuator/src/test/java/org/springframework/boot/actuate/metrics/r2dbc/ConnectionPoolMetricsTests.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ void connectionFactoryIsInstrumented() {
7272
ConnectionPoolMetrics metrics = new ConnectionPoolMetrics(connectionPool, "test-pool",
7373
Tags.of(testTag, regionTag));
7474
metrics.bindTo(registry);
75+
connectionPool.warmup().as(StepVerifier::create).expectNext(3).expectComplete().verify(Duration.ofSeconds(30));
7576
// acquire two connections
7677
connectionPool.create()
7778
.as(StepVerifier::create)

0 commit comments

Comments
 (0)