mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-09-03 04:26:12 +08:00
Merge branch '3.0.x' into 3.1.x
Closes gh-36738
This commit is contained in:
commit
1df70c9f9b
@ -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