mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-09-03 04:26:12 +08:00
Merge branch '2.7.x' into 3.0.x
Closes gh-36737
This commit is contained in:
commit
6ee002456d
@ -72,6 +72,7 @@ class ConnectionPoolMetricsTests {
|
||||
ConnectionPoolMetrics metrics = new ConnectionPoolMetrics(connectionPool, "test-pool",
|
||||
Tags.of(testTag, regionTag));
|
||||
metrics.bindTo(registry);
|
||||
connectionPool.warmup().as(StepVerifier::create).expectNext(3).expectComplete().verify(Duration.ofSeconds(30));
|
||||
// acquire two connections
|
||||
connectionPool.create()
|
||||
.as(StepVerifier::create)
|
||||
|
Loading…
Reference in New Issue
Block a user