We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d41e9d commit 22f44c9Copy full SHA for 22f44c9
ebean-datasource/src/test/java/io/ebean/datasource/pool/ConnectionPoolTest.java
@@ -14,7 +14,7 @@
14
15
class ConnectionPoolTest {
16
17
- private ConnectionPool pool;
+ private final ConnectionPool pool;
18
19
ConnectionPoolTest() {
20
pool = createPool();
@@ -90,8 +90,8 @@ void getConnection_explicitUserPassword() throws SQLException {
90
PoolStatus status = pool.status(false);
91
92
assertThat(status.hitCount()).isEqualTo(10_000);
93
- assertThat(status.meanAcquireNanos()).isBetween(0L, 450L);
94
- assertThat(status.maxAcquireMicros()).isBetween(0L, 200L);
+ assertThat(status.meanAcquireNanos()).isBetween(0L, 900L);
+ assertThat(status.maxAcquireMicros()).isBetween(0L, 900L);
95
}
96
97
@Test
0 commit comments