mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-09-03 04:26:12 +08:00
Merge branch '2.4.x'
Closes gh-25574
This commit is contained in:
commit
2c8e78b082
@ -59,7 +59,7 @@ class ConnectionPoolMetricsTests {
|
||||
@AfterEach
|
||||
void close() {
|
||||
if (this.connectionFactory != null) {
|
||||
this.connectionFactory.close();
|
||||
StepVerifier.create(this.connectionFactory.close()).verifyComplete();
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -59,7 +59,7 @@ class ConnectionFactoryHealthIndicatorTests {
|
||||
}).verifyComplete();
|
||||
}
|
||||
finally {
|
||||
connectionFactory.close();
|
||||
StepVerifier.create(connectionFactory.close()).verifyComplete();
|
||||
}
|
||||
}
|
||||
|
||||
@ -110,7 +110,7 @@ class ConnectionFactoryHealthIndicatorTests {
|
||||
}).verifyComplete();
|
||||
}
|
||||
finally {
|
||||
connectionFactory.close();
|
||||
StepVerifier.create(connectionFactory.close()).verifyComplete();
|
||||
}
|
||||
|
||||
}
|
||||
@ -130,7 +130,7 @@ class ConnectionFactoryHealthIndicatorTests {
|
||||
}).verifyComplete();
|
||||
}
|
||||
finally {
|
||||
connectionFactory.close();
|
||||
StepVerifier.create(connectionFactory.close()).verifyComplete();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user