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