Merge branch '2.4.x'

Closes gh-25574
This commit is contained in:
Stephane Nicoll 2021-03-10 15:15:42 +01:00
commit 2c8e78b082
2 changed files with 4 additions and 4 deletions

View File

@ -59,7 +59,7 @@ class ConnectionPoolMetricsTests {
@AfterEach @AfterEach
void close() { void close() {
if (this.connectionFactory != null) { if (this.connectionFactory != null) {
this.connectionFactory.close(); StepVerifier.create(this.connectionFactory.close()).verifyComplete();
} }
} }

View File

@ -59,7 +59,7 @@ class ConnectionFactoryHealthIndicatorTests {
}).verifyComplete(); }).verifyComplete();
} }
finally { finally {
connectionFactory.close(); StepVerifier.create(connectionFactory.close()).verifyComplete();
} }
} }
@ -110,7 +110,7 @@ class ConnectionFactoryHealthIndicatorTests {
}).verifyComplete(); }).verifyComplete();
} }
finally { finally {
connectionFactory.close(); StepVerifier.create(connectionFactory.close()).verifyComplete();
} }
} }
@ -130,7 +130,7 @@ class ConnectionFactoryHealthIndicatorTests {
}).verifyComplete(); }).verifyComplete();
} }
finally { finally {
connectionFactory.close(); StepVerifier.create(connectionFactory.close()).verifyComplete();
} }
} }